From b84a89a58f99ee694b6bc0bbc3aac5570929192a Mon Sep 17 00:00:00 2001 From: Marcian Lytwyn Date: Thu, 26 Jan 2017 16:31:51 +0000 Subject: [PATCH] Fix XIB 5 clip view flag decoding git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40306 72102866-910b-0410-8b05-ffd578937521 --- Source/GSXib5KeyedUnarchiver.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/GSXib5KeyedUnarchiver.m b/Source/GSXib5KeyedUnarchiver.m index 0b135ed30..54713ae10 100644 --- a/Source/GSXib5KeyedUnarchiver.m +++ b/Source/GSXib5KeyedUnarchiver.m @@ -1724,15 +1724,15 @@ didStartElement: (NSString*)elementName // copiesOnScroll - defaults to ON... if ([attributes objectForKey: @"copiesOnScroll"] == nil) - mask |= (1 << 2); + mask |= (1 << 1); else - mask |= ([[attributes objectForKey: @"copiesOnScroll"] boolValue] ? (1 << 2) : 0); + mask |= ([[attributes objectForKey: @"copiesOnScroll"] boolValue] ? (1 << 1) : 0); // drawsBackground - defaults to ON... if ([attributes objectForKey: @"drawsBackground"] == nil) - mask |= (1 << 4); + mask |= (1 << 2); else - mask |= ([[attributes objectForKey: @"drawsBackground"] boolValue] ? (1 << 4) : 0); + mask |= ([[attributes objectForKey: @"drawsBackground"] boolValue] ? (1 << 2) : 0); // Return value...