mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 20:50:44 +00:00
This reverts commit d1562a37cd
.
This commit is contained in:
parent
d1562a37cd
commit
140124ed35
1 changed files with 1 additions and 3 deletions
|
@ -1395,7 +1395,7 @@ didStartElement: (NSString*)elementName
|
|||
// Seems that Apple decided to omit this attribute IF certain default keys alone
|
||||
// are applied. If this key is present WITH NO setting then the following is
|
||||
// used for the modifier mask...
|
||||
object = [NSNumber numberWithUnsignedInt: (NSCommandKeyMask << 8)];
|
||||
object = [NSNumber numberWithUnsignedInt: NSCommandKeyMask];
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -1437,8 +1437,6 @@ didStartElement: (NSString*)elementName
|
|||
mask |= NSFunctionKeyMask;
|
||||
}
|
||||
|
||||
//This mask is left shifted 8 bits when encoded. When this is used to initialize the element, the mask will be shifted back to the right by 8 bits.
|
||||
mask = (mask << 8);
|
||||
object = [NSNumber numberWithUnsignedInt: mask];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue