diff options
| author | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2018-12-29 12:23:43 +0100 |
|---|---|---|
| committer | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2018-12-29 12:23:43 +0100 |
| commit | 388c42454ad593f8c201a0bc7c2b1bd18f21b1fe (patch) | |
| tree | 263717f8292ad5161969cb4fd584c6564283ebcb /alf/alflabel.cpp | |
| parent | 8ead043a524ffedc634663779a49730cc5da8d97 (diff) | |
make it build with ansi
it now actually works on Win95. WOHOO!
Diffstat (limited to 'alf/alflabel.cpp')
| -rw-r--r-- | alf/alflabel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alf/alflabel.cpp b/alf/alflabel.cpp index 7402ecd..283b99a 100644 --- a/alf/alflabel.cpp +++ b/alf/alflabel.cpp @@ -74,9 +74,9 @@ ALF__LabelSubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam, UINT_ } HWND -ALF_AddLabel(HWND win, WORD id, UINT x, UINT y, const WCHAR *text) +ALF_AddLabel(HWND win, WORD id, UINT x, UINT y, const TCHAR *text) { - HWND hwndLabel = CreateWindow(L"STATIC", + HWND hwndLabel = CreateWindow(TEXT("STATIC"), text, WS_CHILD | WS_VISIBLE | SS_LEFTNOWORDWRAP, 0, 0, 100, 100, |
