mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
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:
parent
154341cecc
commit
b597cab253
3 changed files with 33 additions and 3 deletions
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue