aboutsummaryrefslogtreecommitdiff
path: root/apps/chess
diff options
context:
space:
mode:
authorMarvin Borner2021-04-25 13:43:14 +0200
committerMarvin Borner2021-04-25 13:43:14 +0200
commitf2b4acb2fe6a366288b19843e0d2678b8590bdf4 (patch)
tree1eb869f237908ec0b2516c00f940c6562c5cc5bd /apps/chess
parentcd46cefdd74b9ad0b225706f4d4b5864e87d97d6 (diff)
Chu chuu, using the bus for everything now!
Well, I know: bus != train. But I like trains. So I don't care. Go away!
Diffstat (limited to 'apps/chess')
-rw-r--r--apps/chess/chess.c2
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();