From 388c42454ad593f8c201a0bc7c2b1bd18f21b1fe Mon Sep 17 00:00:00 2001 From: Jonas Kümmerlin Date: Sat, 29 Dec 2018 12:23:43 +0100 Subject: make it build with ansi it now actually works on Win95. WOHOO! --- alf/alflabel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'alf/alflabel.cpp') 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, -- cgit v1.2.3