Updated calls to setStringValue: to use @"" rather than nil

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11224 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2001-10-23 14:12:41 +00:00
parent 8f802c0d1c
commit ae31bc8fce
2 changed files with 2 additions and 2 deletions

View file

@ -125,7 +125,7 @@ static NSOpenPanel *_gs_gui_open_panel = nil;
else
{
[_form abortEditing];
[[_form cellAtIndex: 0] setStringValue:nil];
[[_form cellAtIndex: 0] setStringValue:@""];
// [_form selectTextAtIndex:0];
[_form setNeedsDisplay:YES];
[_okButton setEnabled:YES];

View file

@ -863,7 +863,7 @@ static BOOL _gs_display_reading_progress = NO;
case NSLeftArrowFunctionKey:
case NSRightArrowFunctionKey:
[_form abortEditing];
[[_form cellAtIndex:0] setStringValue:nil];
[[_form cellAtIndex:0] setStringValue: @""];
[_browser keyDown:theEvent];
break;
}