зеркало из https://github.com/mozilla/gecko-dev.git
Work around windoze compiler lossage
This commit is contained in:
Родитель
35c2ef9994
Коммит
5ccd9c28e6
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче