aboutsummaryrefslogtreecommitdiff
path: root/apps/chess/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/chess/main.c')
-rw-r--r--apps/chess/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/chess/main.c b/apps/chess/main.c
index 8e1d470..a546e63 100644
--- a/apps/chess/main.c
+++ b/apps/chess/main.c
@@ -239,7 +239,7 @@ static void draw_board(void)
int main(void)
{
- gui_new_custom_window(&win, vec2(0, 0), vec2(TILE * 8, TILE * 8));
+ win = gui_new_custom_window(APPNAME, vec2(0, 0), vec2(TILE * 8, TILE * 8));
fen_parse(START_FEN);
draw_board();