mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Minor bugfix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6746 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
41b9cb9051
commit
c774c40f68
2 changed files with 22 additions and 0 deletions
|
@ -394,6 +394,24 @@ typedef struct {
|
|||
_scanLocation = saveScanLocation;
|
||||
return NO;
|
||||
}
|
||||
|
||||
if ((_scanLocation < myLength()) && (myCharacter(_scanLocation) == '0'))
|
||||
{
|
||||
_scanLocation++;
|
||||
if (_scanLocation < myLength())
|
||||
{
|
||||
switch (myCharacter(_scanLocation))
|
||||
{
|
||||
case 'x':
|
||||
case 'X':
|
||||
_scanLocation++;
|
||||
break;
|
||||
default:
|
||||
_scanLocation--;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if ([self scanUnsignedInt_: value radix: 16 gotDigits: NO])
|
||||
return YES;
|
||||
_scanLocation = saveScanLocation;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue