git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@5038 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1999-10-19 10:15:00 +00:00
parent 82b390bd3f
commit 76423a1f9a
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Tue Oct 19 11:28:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* Source/NSURL.m: skipToNextField() - cope with a nil set of characters
to be skipped.
Fri Oct 15 01:28:16 1999 Lyndon Tremblay <humasect@coolmail.com> Fri Oct 15 01:28:16 1999 Lyndon Tremblay <humasect@coolmail.com>
* Source/NSURL.m: (-[scheme]) removed a hopefully accidentally placed * Source/NSURL.m: (-[scheme]) removed a hopefully accidentally placed

View file

@ -64,7 +64,7 @@ typedef struct {
* For internal use only. * For internal use only.
*/ */
#define skipToNextField() ({\ #define skipToNextField() ({\
while (_scanLocation < myLength()\ while (_scanLocation < myLength() && _charactersToBeSkipped != nil \
&& (*_skipImp)(_charactersToBeSkipped, memSel, myCharacter(_scanLocation)))\ && (*_skipImp)(_charactersToBeSkipped, memSel, myCharacter(_scanLocation)))\
_scanLocation++;\ _scanLocation++;\
(_scanLocation >= myLength()) ? NO : YES;\ (_scanLocation >= myLength()) ? NO : YES;\