Work around windoze compiler lossage

This commit is contained in:
kipp%netscape.com 1999-04-20 01:53:28 +00:00
Родитель 35c2ef9994
Коммит 5ccd9c28e6
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -1748,8 +1748,8 @@ nsTextFrame::SetSelected(nsSelectionStruct *aSelStruct)
if (!aSelStruct)
return NS_ERROR_NULL_POINTER;
if (aSelStruct->mType & nsSelectionStruct::SELON){
aSelStruct->mEndFrame = PR_MIN(aSelStruct->mEndFrame, PRUint32(mContentLength));
aSelStruct->mStartFrame= PR_MIN(aSelStruct->mStartFrame, PRUint32(mContentLength));
aSelStruct->mEndFrame = PR_MIN(aSelStruct->mEndFrame, (PRUint32) mContentLength);
aSelStruct->mStartFrame= PR_MIN(aSelStruct->mStartFrame, (PRUint32) mContentLength);
if (aSelStruct->mType & nsSelectionStruct::SELTOEND)
aSelStruct->mEndFrame = mContentLength;

Просмотреть файл

@ -1748,8 +1748,8 @@ nsTextFrame::SetSelected(nsSelectionStruct *aSelStruct)
if (!aSelStruct)
return NS_ERROR_NULL_POINTER;
if (aSelStruct->mType & nsSelectionStruct::SELON){
aSelStruct->mEndFrame = PR_MIN(aSelStruct->mEndFrame, PRUint32(mContentLength));
aSelStruct->mStartFrame= PR_MIN(aSelStruct->mStartFrame, PRUint32(mContentLength));
aSelStruct->mEndFrame = PR_MIN(aSelStruct->mEndFrame, (PRUint32) mContentLength);
aSelStruct->mStartFrame= PR_MIN(aSelStruct->mStartFrame, (PRUint32) mContentLength);
if (aSelStruct->mType & nsSelectionStruct::SELTOEND)
aSelStruct->mEndFrame = mContentLength;