mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 15:11:37 +00:00
Correction for compilation error. NSSizesEqual should have been NSEqualSizes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33820 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
192e2d6174
commit
9a606392b7
1 changed files with 3 additions and 3 deletions
|
@ -1055,10 +1055,10 @@ repd_for_rep(NSArray *_reps, NSImageRep *rep)
|
|||
NSWindow *window;
|
||||
GSRepData *repd;
|
||||
|
||||
if (NSSizesEqual(NSZeroSize, [self size]))
|
||||
if (NSEqualSizes(NSZeroSize, [self size]))
|
||||
[NSException raise: NSImageCacheException
|
||||
format: @"Cannot lock focus on image with size (0, 0)"];
|
||||
|
||||
format: @"Cannot lock focus on image with size (0, 0)"];
|
||||
|
||||
if (imageRep == nil)
|
||||
imageRep = [self bestRepresentationForDevice: nil];
|
||||
|
||||
|
|
Loading…
Reference in a new issue