diff --git a/widget/src/windows/nsWindow.cpp b/widget/src/windows/nsWindow.cpp index dde4eee8d6cf..fdd5821d0a16 100644 --- a/widget/src/windows/nsWindow.cpp +++ b/widget/src/windows/nsWindow.cpp @@ -1664,7 +1664,7 @@ PRBool nsWindow::ProcessMessage(UINT msg, WPARAM wParam, LPARAM lParam, LRESULT ::SelectPalette(hDC, hOldPal, TRUE); ::RealizePalette(hDC); ::ReleaseDC(mWnd, hDC); - *aRetValue = (LRESULT)i; + *aRetValue = TRUE; } result = PR_TRUE; break;