Author: mlytwyn
Date: Thu Jan 26 17:31:51 2017
New Revision: 40306
URL: http://svn.gna.org/viewcvs/gnustep?rev=40306&view=rev
Log:
Fix XIB 5 clip view flag decoding
Modified:
libs/gui/branches/gnustep_testplant_branch/Source/GSXib5KeyedUnarchiver.m
Modified:
libs/gui/branches/gnustep_testplant_branch/Source/GSXib5KeyedUnarchiver.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/gui/branches/gnustep_testplant_branch/Source/GSXib5KeyedUnarchiver.m?rev=40306&r1=40305&r2=40306&view=diff
==============================================================================
--- libs/gui/branches/gnustep_testplant_branch/Source/GSXib5KeyedUnarchiver.m
(original)
+++ libs/gui/branches/gnustep_testplant_branch/Source/GSXib5KeyedUnarchiver.m
Thu Jan 26 17:31:51 2017
@@ -1724,15 +1724,15 @@
// copiesOnScroll - defaults to ON...
if ([attributes objectForKey: @"copiesOnScroll"] == nil)
+ mask |= (1 << 1);
+ else
+ mask |= ([[attributes objectForKey: @"copiesOnScroll"] boolValue] ? (1
<< 1) : 0);
+
+ // drawsBackground - defaults to ON...
+ if ([attributes objectForKey: @"drawsBackground"] == nil)
mask |= (1 << 2);
else
- mask |= ([[attributes objectForKey: @"copiesOnScroll"] boolValue] ? (1
<< 2) : 0);
-
- // drawsBackground - defaults to ON...
- if ([attributes objectForKey: @"drawsBackground"] == nil)
- mask |= (1 << 4);
- else
- mask |= ([[attributes objectForKey: @"drawsBackground"] boolValue] ?
(1 << 4) : 0);
+ mask |= ([[attributes objectForKey: @"drawsBackground"] boolValue] ?
(1 << 2) : 0);
// Return value...
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs