aboutsummaryrefslogtreecommitdiff
path: root/backends/wince
diff options
context:
space:
mode:
Diffstat (limited to 'backends/wince')
-rw-r--r--backends/wince/smartphone.cpp4
1 files changed, 3 insertions, 1 deletions
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);