From 1ca0c59b6120331ccc5452373ddec360a69ee92c Mon Sep 17 00:00:00 2001 From: theraven Date: Fri, 11 Feb 2011 11:35:04 +0000 Subject: [PATCH] Initialise a variable with the value that's actually used first, not a placeholder value. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32057 72102866-910b-0410-8b05-ffd578937521 --- Tools/AGSOutput.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Tools/AGSOutput.m b/Tools/AGSOutput.m index 6ad2428ab..88f94267e 100644 --- a/Tools/AGSOutput.m +++ b/Tools/AGSOutput.m @@ -1356,7 +1356,7 @@ static BOOL snuggleStart(NSString *t) CREATE_AUTORELEASE_POOL(arp); #endif unsigned l = [str length]; - NSRange r = NSMakeRange(0, l); + NSRange r = [str rangeOfString: @"... sequences and output them literally. * All other text has reformatting applied as necessary. */ - r = [str rangeOfString: @" 0) { NSString *tmp;