Kaynağa Gözat

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

tags/v0.9.3
Dan Lynch 18 yıl önce
ebeveyn
işleme
a2799051b0
1 değiştirilmiş dosya ile 4 ekleme ve 2 silme
  1. 4
    2
      src/core/curses.c

+ 4
- 2
src/core/curses.c Dosyayı Görüntüle

@@ -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…
İptal
Kaydet