summaryrefslogtreecommitdiff
path: root/src/Fl_Gl_Window.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2005-04-14 13:56:07 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2005-04-14 13:56:07 +0000
commit70c4cd102f437a1379a66b036cd0f26837d003ea (patch)
treef700115eb2cd5a895d8be710b5ed16a80185c601 /src/Fl_Gl_Window.cxx
parent217f77c9ef015684b08f77b2d129155c76414f9e (diff)
Fix compiler warnings.
Use fl_yes and fl_no for the Forms emulation, instead of the hardcoded strings. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4283 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Gl_Window.cxx')
-rw-r--r--src/Fl_Gl_Window.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx
index ac2ed93a3..e9f7de202 100644
--- a/src/Fl_Gl_Window.cxx
+++ b/src/Fl_Gl_Window.cxx
@@ -95,8 +95,10 @@ int Fl_Gl_Window::mode(int m, const int *a) {
if (m == mode_ && a == alist) return 0;
#ifndef __APPLE__
int oldmode = mode_;
+#endif // !__APPLE__
+#if !defined(WIN32) && !defined(__APPLE__)
Fl_Gl_Choice* oldg = g;
-#endif
+#endif // !WIN32 && !__APPLE__
context(0);
mode_ = m; alist = a;
if (shown()) {