diff options
author | Nicolas Bacca | 2003-07-20 22:27:17 +0000 |
---|---|---|
committer | Nicolas Bacca | 2003-07-20 22:27:17 +0000 |
commit | d62959bfd9ff787055f8e7e829f354bf11694fbe (patch) | |
tree | 3924cbcfcd0e04da6babda09b6134faa7455ff59 /backends/wince | |
parent | ec2b0cca0467b9611e6d0c547a26f83a02cc4e78 (diff) | |
download | scummvm-rg350-d62959bfd9ff787055f8e7e829f354bf11694fbe.tar.gz scummvm-rg350-d62959bfd9ff787055f8e7e829f354bf11694fbe.tar.bz2 scummvm-rg350-d62959bfd9ff787055f8e7e829f354bf11694fbe.zip |
Compile with new version string
svn-id: r9100
Diffstat (limited to 'backends/wince')
-rw-r--r-- | backends/wince/smartphone.cpp | 4 |
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); |