summaryrefslogtreecommitdiff
path: root/alf/alfedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alf/alfedit.cpp')
-rw-r--r--alf/alfedit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alf/alfedit.cpp b/alf/alfedit.cpp
index be06b01..95150ba 100644
--- a/alf/alfedit.cpp
+++ b/alf/alfedit.cpp
@@ -55,7 +55,7 @@ ALF_AddEdit(HWND win, WORD id, UINT x, UINT y, const TCHAR *text)
DWORD exstyle;
DWORD style;
- if (LOBYTE(LOWORD(GetVersion())) >= 4) {
+ if (ALF_Compat_IsMinWindowsVersion(4, 0)) {
exstyle = WS_EX_CLIENTEDGE;
style = 0;
} else {