From d62959bfd9ff787055f8e7e829f354bf11694fbe Mon Sep 17 00:00:00 2001 From: Nicolas Bacca Date: Sun, 20 Jul 2003 22:27:17 +0000 Subject: Compile with new version string svn-id: r9100 --- backends/wince/smartphone.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'backends/wince') diff --git a/backends/wince/smartphone.cpp b/backends/wince/smartphone.cpp index 0f1c507004..2402f6b5d4 100644 --- a/backends/wince/smartphone.cpp +++ b/backends/wince/smartphone.cpp @@ -636,6 +636,7 @@ void doPaint() { HBITMAP bitmap; char dateString[100]; TCHAR dateStringUnicode[100]; + TCHAR scummVMVersionUnicode[100]; GetClientRect (_hWnd, &rcClient); hDC = BeginPaint (_hWnd, &ps); @@ -653,7 +654,8 @@ void doPaint() { DrawText(hDC, TEXT("http://www.scummvm.org"), -1, &rcClient, DT_CENTER | DT_SINGLELINE); rcClient.left = 0; rcClient.top = 90; - DrawText(hDC, TEXT(gScummVMVersion), -1, &rcClient, DT_CENTER | DT_SINGLELINE); + MultiByteToWideChar(CP_ACP, 0, gScummVMVersion, strlen(gScummVMVersion) + 1, scummVMVersionUnicode, sizeof(scummVMVersionUnicode)); + DrawText(hDC, scummVMVersionUnicode, -1, &rcClient, DT_CENTER | DT_SINGLELINE); rcClient.left = 0; rcClient.top = 110; DrawText(hDC, TEXT("http://arisme.free.fr"), -1, &rcClient, DT_CENTER | DT_SINGLELINE); -- cgit v1.2.3