From f7efa807a308ebadb7672fe7c4e04ed1def7accf Mon Sep 17 00:00:00 2001 From: mguesdon Date: Tue, 6 Apr 2004 11:09:27 +0000 Subject: [PATCH] o fixed exception format/arguments problem reported by David Ayers in _skipQuotedStringWithQuote:index:stopIndex: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19038 72102866-910b-0410-8b05-ffd578937521 --- GSWeb.framework/GSWHTMLRawParser.m | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/GSWeb.framework/GSWHTMLRawParser.m b/GSWeb.framework/GSWHTMLRawParser.m index ffbd5b4..1037692 100644 --- a/GSWeb.framework/GSWHTMLRawParser.m +++ b/GSWeb.framework/GSWHTMLRawParser.m @@ -286,13 +286,13 @@ An exception is raised if the end quote is not found,... if (*indexPtr>stopIndex) [NSException raise:NSInvalidArgumentException format:@"Found end of string before end quote when " - @"skipping quoted string starting at %d.", - [self currentLineIndex]]; + @"skipping quoted string starting at %@.", + [self currentLineAndColumnIndexesString]]; else [NSException raise:NSInvalidArgumentException - format:@"Didn't find end quote when skipping quoted " - @"string starting at %d. Found '%c' instead", - [self currentLineIndex],(char)_uniBuf[_index]]; + format:@"Didn't found end quote when skipping quoted " + @"string starting at %@. Found '%c' instead", + [self currentLineAndColumnIndexesString],(char)_uniBuf[_index]]; };