diff options
author | Dan Lynch | 2006-05-15 11:34:27 +0200 |
---|---|---|
committer | Dan Lynch | 2006-05-15 11:34:27 +0200 |
commit | a2799051b031829896620723831a0269d7955c51 (patch) | |
tree | 9218af10bef784b0d8f5483186d3649372c3dc09 /src | |
parent | lightweight xcurses implementation for etherboot (Michael made me do it...) (diff) | |
download | ipxe-a2799051b031829896620723831a0269d7955c51.tar.gz ipxe-a2799051b031829896620723831a0269d7955c51.tar.xz ipxe-a2799051b031829896620723831a0269d7955c51.zip |
fixed build error (danjlynch, repeat: this is *not* perl, this is *not* perl...)
Diffstat (limited to 'src')
-rw-r--r-- | src/core/curses.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/curses.c b/src/core/curses.c index e5565a82..f61f61e0 100644 --- a/src/core/curses.c +++ b/src/core/curses.c @@ -172,9 +172,11 @@ int waddchnstr ( WINDOW *win, const chtype *chstr, int n ) { _advcurs_nowrap( win ); /* set rendition code here */ } - _restore_curs_pos( win, pos ) && return OK; + _restore_curs_pos( win, pos ); + return OK; err: - _restore_curs_pos( win, pos ) && return ERR; + _restore_curs_pos( win, pos ); + return ERR; } /** |