diff options
Diffstat (limited to 'alf/alflabel.cpp')
| -rw-r--r-- | alf/alflabel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alf/alflabel.cpp b/alf/alflabel.cpp index 73216e1..c38ab08 100644 --- a/alf/alflabel.cpp +++ b/alf/alflabel.cpp @@ -136,7 +136,7 @@ ALF__LabelWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) SetTextColor(hdc, GetSysColor(COLOR_BTNSHADOW)); DrawText(hdc, text, -1, &rc, format); - } if (GetVersion() >= 0x80000000) { + } else if (GetVersion() >= 0x80000000) { // Win9x just uses gray text. DSS_DISABLED is broken there, too, // so we can't get the NT look even if we wanted to SetTextColor(hdc, GetSysColor(COLOR_GRAYTEXT)); |
