mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 16:20:46 +00:00
remove c99-ism
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32722 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
140d4ffcea
commit
0ee3c76f8f
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-03-28 Riccardo Mottola <rm@gnu.org>
|
||||
|
||||
* Source/NSSearchFieldCell.m:
|
||||
Remove c99-ism
|
||||
|
||||
2011-03-25 German Arias <german@xelalug.org>
|
||||
|
||||
* Panels/Spanish.lproj/GSDataLinkPanel.gorm:
|
||||
|
|
|
@ -402,6 +402,7 @@
|
|||
NSRect rect;
|
||||
NSPoint thePoint;
|
||||
NSPoint location = [event locationInWindow];
|
||||
NSText *currentEditor;
|
||||
|
||||
thePoint = [controlView convertPoint: location fromView: nil];
|
||||
|
||||
|
@ -424,9 +425,9 @@
|
|||
untilMouseUp: untilMouseUp];
|
||||
}
|
||||
|
||||
NSText *currentEditor = ([controlView isKindOfClass:[NSControl class]]
|
||||
? [(NSControl *)controlView currentEditor]
|
||||
: nil);
|
||||
currentEditor = ([controlView isKindOfClass:[NSControl class]]
|
||||
? [(NSControl *)controlView currentEditor]
|
||||
: nil);
|
||||
if (currentEditor)
|
||||
{
|
||||
[currentEditor mouseDown: event];
|
||||
|
|
Loading…
Reference in a new issue