mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 10:01:14 +00:00
Fix image scaling value extract from XIB
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38877 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e53c91a2fb
commit
3f3bb2771a
1 changed files with 1 additions and 1 deletions
|
@ -1878,7 +1878,7 @@ typedef struct _GSButtonCellFlags
|
|||
[self setKeyEquivalentModifierMask: ((bFlags2 >> 8) &
|
||||
NSDeviceIndependentModifierFlagsMask)];
|
||||
|
||||
switch (bFlags2 & (3 << 6))
|
||||
switch ((bFlags2 >> 6) & 3)
|
||||
{
|
||||
case 2:
|
||||
imageScale = NSImageScaleProportionallyDown;
|
||||
|
|
Loading…
Reference in a new issue