From 06f726d1f50c06457b5edfc566e75ca0ef8e1119 Mon Sep 17 00:00:00 2001 From: "shanjian%netscape.com" Date: Wed, 24 Oct 2001 03:17:44 +0000 Subject: [PATCH] fix mac bustage, r=jelwell --- mailnews/mime/src/mimetext.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mailnews/mime/src/mimetext.cpp b/mailnews/mime/src/mimetext.cpp index db2c160f0e7..6a3ecc01736 100644 --- a/mailnews/mime/src/mimetext.cpp +++ b/mailnews/mime/src/mimetext.cpp @@ -390,6 +390,7 @@ MimeInlineText_open_dam(MimeObject *obj) const char* detectedCharset; nsresult res; int status; + PRInt32 i; res = MIME_detect_charset(text->lineDamBuffer, text->curDamOffset, &detectedCharset); if (NS_SUCCEEDED(res) && detectedCharset && *detectedCharset) @@ -402,7 +403,7 @@ MimeInlineText_open_dam(MimeObject *obj) text->defaultCharset = nsnull; } - for (PRInt32 i = 0; i < text->lastLineInDam-1; i++) + for (i = 0; i < text->lastLineInDam-1; i++) { status = MimeInlineText_convert_and_parse_line( text->lineDamPtrs[i],