summaryrefslogtreecommitdiff
path: root/platform/gl/gl-ui.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-10-04 11:19:28 +0200
committerTor Andersson <tor.andersson@artifex.com>2018-10-04 11:19:28 +0200
commit7f77313e6d60fc917146b80cce2f9c1ab0152349 (patch)
treefdbb2f609728ad1b6b6a465fdefa39c55ca8d20f /platform/gl/gl-ui.c
parenta64b8e6c4a26b4e73e96f9b922969c37989acf59 (diff)
downloadmupdf-7f77313e6d60fc917146b80cce2f9c1ab0152349.tar.xz
Fix simple typos.1.14.0
Diffstat (limited to 'platform/gl/gl-ui.c')
-rw-r--r--platform/gl/gl-ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/gl/gl-ui.c b/platform/gl/gl-ui.c
index 150ddbc5..9552e562 100644
--- a/platform/gl/gl-ui.c
+++ b/platform/gl/gl-ui.c
@@ -375,7 +375,7 @@ void ui_init(int w, int h, const char *title)
{
float ui_scale;
-#ifndef FREEGLUT
+#ifdef FREEGLUT
glutSetOption(GLUT_ACTION_ON_WINDOW_CLOSE, GLUT_ACTION_GLUTMAINLOOP_RETURNS);
#endif