From 09c8506b370e890c65e2aafe247e280400fa401a Mon Sep 17 00:00:00 2001 From: Sebastian Krzyszkowiak Date: Fri, 6 Sep 2019 22:57:04 +0200 Subject: [PATCH] ToggleFullscreen: log whether fullscreen is being toggled on or off --- src/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.c b/src/utils.c index de2f57d..38e662f 100644 --- a/src/utils.c +++ b/src/utils.c @@ -698,7 +698,7 @@ SYMBOL_EXPORT bool ToggleFullscreen(struct Game* game) { #endif al_set_display_flag(game->display, ALLEGRO_FULLSCREEN_WINDOW, game->config.fullscreen); SetupViewport(game); - PrintConsole(game, "Fullscreen toggled"); + PrintConsole(game, "Fullscreen toggled: %s", game->config.fullscreen ? "on" : "off"); return game->config.fullscreen; }