Move declarations before statements.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18808 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Alexander Malmberg 2004-03-08 18:22:07 +00:00
parent 2af1627723
commit 52d01199b1
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2004-03-08 19:19 Alexander Malmberg <alexander@malmberg.org>
* Source/NSPageLayout.m (-readPrintInfo): Move declarations before
statements.
2004-03-08 19:04 Alexander Malmberg <alexander@malmberg.org>
* Source/NSComboBoxCell.m (-runModalPopUp): Don't make the popup

View file

@ -520,10 +520,10 @@ static NSPageLayout *shared_instance;
//TODO Scaling
{
control = [[self contentView] viewWithTag: NSPLScaleField];
float scale = 100;
NSNumber *scaleNumber;
if ( (scaleNumber = [dict objectForKey:NSPrintScalingFactor] ) )
control = [[self contentView] viewWithTag: NSPLScaleField];
if ((scaleNumber = [dict objectForKey:NSPrintScalingFactor]))
{
scale = [scaleNumber floatValue];
}