diff options
Diffstat (limited to 'apps/chess/chess.c')
-rw-r--r-- | apps/chess/chess.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/chess/chess.c b/apps/chess/chess.c index 833edb0..a8e5fae 100644 --- a/apps/chess/chess.c +++ b/apps/chess/chess.c @@ -241,7 +241,7 @@ static void draw_board(void) int main(void) { - assert((win = gui_new_window()) > 0); + assert(gui_new_window(&win) == EOK); fen_parse(START_FEN); draw_board(); |