mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 20:40:47 +00:00
Add parentheses to stop compiler from complaining.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28091 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
31e0c9633c
commit
d93b330bd2
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2009-03-18 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
|
* Source/NSView.m (-beginPageInRect:atPlacement:): Add parentheses
|
||||||
|
to stop compiler from complaining.
|
||||||
|
|
||||||
2009-03-16 03:29-EDT Gregory John Casamento <greg_casamento@yahoo.com>
|
2009-03-16 03:29-EDT Gregory John Casamento <greg_casamento@yahoo.com>
|
||||||
|
|
||||||
* Source/GSToolbarView.m: Added code to save the configuration when
|
* Source/GSToolbarView.m: Added code to save the configuration when
|
||||||
|
|
|
@ -4250,7 +4250,7 @@ static NSView* findByTag(NSView *view, int aTag, unsigned *level)
|
||||||
if (NSIsEmptyRect(aRect))
|
if (NSIsEmptyRect(aRect))
|
||||||
{
|
{
|
||||||
if ([dict objectForKey: @"NSPrintPaperBounds"])
|
if ([dict objectForKey: @"NSPrintPaperBounds"])
|
||||||
bounds = [[dict objectForKey: @"NSPrintPaperBounds"] rectValue];
|
bounds = [[dict objectForKey: @"NSPrintPaperBounds"] rectValue];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -4290,7 +4290,7 @@ static NSView* findByTag(NSView *view, int aTag, unsigned *level)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Translate to placement */
|
/* Translate to placement */
|
||||||
if (location.x != 0 || location.y != 0 && NSIsEmptyRect(aRect) == YES)
|
if ((location.x != 0 || location.y != 0) && NSIsEmptyRect(aRect) == YES)
|
||||||
DPStranslate(ctxt, location.x, location.y);
|
DPStranslate(ctxt, location.x, location.y);
|
||||||
|
|
||||||
// FIXME: Need to place this correctly. Maybe it isn't needed at all,
|
// FIXME: Need to place this correctly. Maybe it isn't needed at all,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue