Minor fixes

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6289 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2000-03-16 12:41:01 +00:00
parent 154341cecc
commit b597cab253
3 changed files with 33 additions and 3 deletions

View file

@ -65,7 +65,7 @@ NSRangeFromString(NSString* string)
&& (*scanStringImp)(scanner, scanStringSel, @"location", NULL)
&& (*scanStringImp)(scanner, scanStringSel, @"=", NULL)
&& (*scanIntImp)(scanner, scanIntSel, &range.location)
&& (*scanStringImp)(scanner, scanStringSel, @";", NULL)
&& (*scanStringImp)(scanner, scanStringSel, @",", NULL)
&& (*scanStringImp)(scanner, scanStringSel, @"length", NULL)
&& (*scanStringImp)(scanner, scanStringSel, @"=", NULL)
&& (*scanIntImp)(scanner, scanIntSel, &range.length)
@ -79,7 +79,7 @@ NSString *
NSStringFromRange(NSRange range)
{
setupCache();
return [NSStringClass stringWithFormat: @"{location = %d, length = %d}",
return [NSStringClass stringWithFormat: @"{location=%d, length=%d}",
range.location, range.length];
}