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;