mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 14:10:47 +00:00
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
This commit is contained in:
parent
f0d038ef6c
commit
b84a89a58f
1 changed files with 4 additions and 4 deletions
|
@ -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...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue