summaryrefslogtreecommitdiff
path: root/frontends/windows/gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/windows/gui.c')
-rw-r--r--frontends/windows/gui.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/frontends/windows/gui.c b/frontends/windows/gui.c
index 0ab1e32ee..043a93dd9 100644
--- a/frontends/windows/gui.c
+++ b/frontends/windows/gui.c
@@ -39,10 +39,14 @@
#include "windows/filetype.h"
#include "windows/gui.h"
-static bool win32_quit = false;
-
-HINSTANCE hInstance; /** win32 application instance handle. */
+/**
+ * win32 application instance handle.
+ *
+ * This handle is set in the main windows entry point.
+ */
+HINSTANCE hinst;
+static bool win32_quit = false;
void win32_set_quit(bool q)
{