removed c99-ism

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28380 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2009-07-05 20:12:22 +00:00
parent 45726cd72c
commit 54e5c30271
2 changed files with 14 additions and 6 deletions

View file

@ -1,3 +1,8 @@
2009-07-05 Riccardo Mottola <rmottola@users.sf.net>
* Source/NSTableHeaderView.m
Removed c99-ism
2009-07-05 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTableView.m (_editPreviousEditableCellBeforeRow:column:):

View file

@ -348,6 +348,12 @@
/* Resizing */
if (_resizedColumn != -1)
{
float p;
NSEvent *e;
BOOL lit;
unsigned int eventMask;
BOOL liveResize;
/* Width of the highlighted area. */
const float divWidth = 4;
/* Coordinates of visible part of table */
@ -368,13 +374,10 @@
highlightRect.size.width = divWidth;
/* Mouse position */
float p;
/* YES if some highlighting was done and needs to be undone */
BOOL lit = NO;
NSEvent *e;
unsigned int eventMask = NSLeftMouseUpMask | NSLeftMouseDraggedMask
| NSPeriodicMask;
BOOL liveResize = ![[NSUserDefaults standardUserDefaults] boolForKey: @"GSUseGhostResize"];
lit = NO;
eventMask = NSLeftMouseUpMask | NSLeftMouseDraggedMask | NSPeriodicMask;
liveResize = ![[NSUserDefaults standardUserDefaults] boolForKey: @"GSUseGhostResize"];
if ([column isResizable] == NO)
{