mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 19:01:54 +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
aad204fa74
commit
eff688c4bb
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>
|
2011-03-25 German Arias <german@xelalug.org>
|
||||||
|
|
||||||
* Panels/Spanish.lproj/GSDataLinkPanel.gorm:
|
* Panels/Spanish.lproj/GSDataLinkPanel.gorm:
|
||||||
|
|
|
@ -402,6 +402,7 @@
|
||||||
NSRect rect;
|
NSRect rect;
|
||||||
NSPoint thePoint;
|
NSPoint thePoint;
|
||||||
NSPoint location = [event locationInWindow];
|
NSPoint location = [event locationInWindow];
|
||||||
|
NSText *currentEditor;
|
||||||
|
|
||||||
thePoint = [controlView convertPoint: location fromView: nil];
|
thePoint = [controlView convertPoint: location fromView: nil];
|
||||||
|
|
||||||
|
@ -424,9 +425,9 @@
|
||||||
untilMouseUp: untilMouseUp];
|
untilMouseUp: untilMouseUp];
|
||||||
}
|
}
|
||||||
|
|
||||||
NSText *currentEditor = ([controlView isKindOfClass:[NSControl class]]
|
currentEditor = ([controlView isKindOfClass:[NSControl class]]
|
||||||
? [(NSControl *)controlView currentEditor]
|
? [(NSControl *)controlView currentEditor]
|
||||||
: nil);
|
: nil);
|
||||||
if (currentEditor)
|
if (currentEditor)
|
||||||
{
|
{
|
||||||
[currentEditor mouseDown: event];
|
[currentEditor mouseDown: event];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue