Bläddra i källkod

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

tags/v0.9.3
Dan Lynch 19 år sedan
förälder
incheckning
a2799051b0
1 ändrade filer med 4 tillägg och 2 borttagningar
  1. 4
    2
      src/core/curses.c

+ 4
- 2
src/core/curses.c Visa fil

@@ -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
 /**

Laddar…
Avbryt
Spara