Browse Source

fixed build error (danjlynch, repeat: this is *not* perl, this is *not* perl...)

tags/v0.9.3
Dan Lynch 19 years ago
parent
commit
a2799051b0
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      src/core/curses.c

+ 4
- 2
src/core/curses.c View File

@@ -172,9 +172,11 @@ int waddchnstr ( WINDOW *win, const chtype *chstr, int n ) {
172 172
 		_advcurs_nowrap( win );
173 173
 		/* set rendition code here */
174 174
 	}
175
-	_restore_curs_pos( win, pos ) && return OK;
175
+	_restore_curs_pos( win, pos );
176
+	return OK;
176 177
  err:
177
-	_restore_curs_pos( win, pos ) && return ERR;
178
+	_restore_curs_pos( win, pos );
179
+	return ERR;
178 180
 }
179 181
 
180 182
 /**

Loading…
Cancel
Save