now fixing nebiros bustage, apparently my previous fix wasn't

liked by it.
so what I did was remove 2 instances of "for (int i = <blah>"
and replaced it with "int i;  <blah> for (i = <blah>"


git-svn-id: svn://10.0.0.236/trunk@103092 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jdunn%netscape.com 2001-09-18 13:13:16 +00:00
parent 338e52b058
commit 9e96eff17d

View File

@ -163,6 +163,7 @@ NS_IMETHODIMP nsUnicodeToTIS620::Convert(const PRUnichar* input,
{
textRunList txtRuns;
textRun *aPtr, *aTmpPtr;
int i;
#ifdef DEBUG_prabhath_no_shaper
printf("Debug/Test Case of No thai pango shaper Object\n");
@ -213,7 +214,7 @@ NS_IMETHODIMP nsUnicodeToTIS620::Convert(const PRUnichar* input,
Itemize(input, *aSrcLength, &txtRuns);
aPtr = txtRuns.head;
for (int i = 0; i < txtRuns.numRuns; i++) {
for (i = 0; i < txtRuns.numRuns; i++) {
PRInt32 tmpSrcLen = aPtr->length;
if (aPtr->isOther) {