diff options
Diffstat (limited to 'globals.hpp')
-rw-r--r-- | globals.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/globals.hpp b/globals.hpp index fd24542..87c0ab6 100644 --- a/globals.hpp +++ b/globals.hpp @@ -1,8 +1,9 @@ #pragma once #include "app/base_app.hpp" +#include <stdio.h> struct global_status { - BaseApp* foreground_app = 0; + BaseApp* foreground_app = nullptr; bool is_sleeping = false; bool app_ready = true; bool app_switch_requested = false; @@ -25,4 +26,4 @@ struct user_settings { }; extern global_status g_s; -extern user_settings g_user;
\ No newline at end of file +extern user_settings g_user; |