Issue #1595 part 5: Remove Vista checks in Windows widget code

This commit is contained in:
Pale Moon
2018-01-20 12:04:19 +01:00
committed by Roy Tam
parent 21efd52b38
commit 69d7cf9cea
10 changed files with 202 additions and 439 deletions
+1 -3
View File
@@ -945,9 +945,7 @@ MouseScrollHandler::SystemSettings::Init()
PR_LOG(gMouseScrollLog, PR_LOG_ALWAYS,
("MouseScroll::SystemSettings::Init(): ::SystemParametersInfo("
"SPI_GETWHEELSCROLLCHARS) failed, %s",
IsVistaOrLater() ?
"this is unexpected on Vista or later" :
"but on XP or earlier, this is not a problem"));
"this is unexpected."));
mScrollChars = 1;
}