Fix build problem on Tru64 Unix. Scc says the code should run faster

this way anyhow.  r=scc
This commit is contained in:
jim_nance%yahoo.com 2000-06-28 02:07:25 +00:00
parent 944208ec6d
commit d7356d040a

View File

@ -445,7 +445,7 @@ nsTextBoxFrame::CalculateTitleForWidth(nsIPresContext* aPresContext, nsIRenderin
// insert what character we can in.
nsAutoString title = mTitle;
title.Truncate(i);
mCroppedTitle = title + mCroppedTitle;
mCroppedTitle.Insert(title, 0);
}
break;
@ -470,7 +470,7 @@ nsTextBoxFrame::CalculateTitleForWidth(nsIPresContext* aPresContext, nsIRenderin
nsAutoString copy;
mTitle.Right(copy, length-i-1);
mCroppedTitle = mCroppedTitle + copy;
mCroppedTitle += copy;
}
break;