mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
Added code to initialize a internal var before it is used. This was causing weirdness in the backend.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@17466 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
36af42bd09
commit
e95739bc29
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2003-08-10 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormInternalViewEditor.m: Added initilization for variable r so
|
||||
that it is not used uninitialized if the first event is not
|
||||
NSLeftMouseUp.
|
||||
|
||||
2003-08-10 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormDocuments.m: -[GormDocument
|
||||
|
|
|
@ -537,7 +537,7 @@ static NSImage *horizontalImage;
|
|||
// BOOL first = YES;
|
||||
NSRect oldRect = NSZeroRect;
|
||||
NSPoint p, oldp;
|
||||
NSRect r;
|
||||
NSRect r = NSZeroRect;
|
||||
float x, y, w, h;
|
||||
|
||||
oldp = [self convertPoint: [theEvent locationInWindow] fromView: nil];
|
||||
|
|
Loading…
Reference in a new issue