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/alfbutton.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'alf/alfbutton.cpp') diff --git a/alf/alfbutton.cpp b/alf/alfbutton.cpp index 0723563..c46693e 100644 --- a/alf/alfbutton.cpp +++ b/alf/alfbutton.cpp @@ -71,10 +71,10 @@ ALF__ButtonSubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam, UINT } HWND -ALF_AddButton(HWND win, WORD id, UINT x, UINT y, const WCHAR *text) +ALF_AddButton(HWND win, WORD id, UINT x, UINT y, const TCHAR *text) { HWND hwndButton = CreateWindowEx(0, - L"BUTTON", + TEXT("BUTTON"), text, WS_CHILD | WS_TABSTOP | WS_VISIBLE | BS_PUSHBUTTON | BS_MULTILINE, 0, 0, 100, 100, -- cgit v1.2.3