From 3271b043f89966a8c33bdd2de4e93a4428c0488d Mon Sep 17 00:00:00 2001 From: Jonas Kümmerlin Date: Fri, 4 Jan 2019 16:15:33 +0100 Subject: improve label display on Win32s/NT3.x and make it actually run on NT 3.1 NT 3.1 doesn't have GetSysColorBrush(), and the label display isn't broken enough for us to worry about it, since we're gonna replace it anyway at some point --- alf/alfcompat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alf/alfcompat.cpp') diff --git a/alf/alfcompat.cpp b/alf/alfcompat.cpp index 5486b19..9a36d4d 100644 --- a/alf/alfcompat.cpp +++ b/alf/alfcompat.cpp @@ -32,7 +32,7 @@ static int WINAPI fallbackGetSystemMetricsForDpi(int nIndex, UINT dpi) { (void)dpi; - if (LOBYTE(LOWORD(GetVersion)) < 4) { + if (LOBYTE(LOWORD(GetVersion())) < 4) { // old NT does not support several properties, so we fake them switch (nIndex) { case SM_CXEDGE: -- cgit v1.2.3