summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIan MacArthur <imacarthur@gmail.com>2014-12-21 18:03:03 +0000
committerIan MacArthur <imacarthur@gmail.com>2014-12-21 18:03:03 +0000
commitb2462e9adb66caf40ccb4fd95784de22b2656503 (patch)
tree536f8f3428e4bc691778bcf7ceea6f06c5b8865a /src
parent27b3376bf4c201829673172f103f857958dab919 (diff)
Fix typo in Fl_cocoa.mm if the ABI was set to 10304 or greater.
Seems ot be compiling OK again now. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10505 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_cocoa.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm
index 2d6fca7a0..323a634bf 100644
--- a/src/Fl_cocoa.mm
+++ b/src/Fl_cocoa.mm
@@ -1174,8 +1174,8 @@ bool Fl_X::mapped_to_retina() {
void Fl_X::mapped_to_retina(bool b) {
#if FLTK_ABI_VERSION >= 10304
- if (b) mapped_to_retina_ |= mapped;
- else mapped_to_retina_ &= ~mapped;
+ if (b) mapped_to_retina_ |= mapped_mask;
+ else mapped_to_retina_ &= ~mapped_mask;
#else
if (b) xidChildren = (Fl_X*)((unsigned long)xidChildren | mapped_mask);
else xidChildren = (Fl_X*)((unsigned long)xidChildren & ~mapped_mask);