From a2799051b031829896620723831a0269d7955c51 Mon Sep 17 00:00:00 2001 From: Dan Lynch Date: Mon, 15 May 2006 09:34:27 +0000 Subject: [PATCH] fixed build error (danjlynch, repeat: this is *not* perl, this is *not* perl...) --- src/core/curses.c | 6 ++++-- 1 file 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; } /**