[Scummvm-cvs-logs] CVS: scummvm/backends/wince smartphone.cpp,1.10,1.11
Nicolas Bacca
arisme at users.sourceforge.net
Sun Jul 20 15:39:11 CEST 2003
Update of /cvsroot/scummvm/scummvm/backends/wince
In directory sc8-pr-cvs1:/tmp/cvs-serv19305
Modified Files:
smartphone.cpp
Log Message:
Compile with new version string
Index: smartphone.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/wince/smartphone.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- smartphone.cpp 15 Jul 2003 02:16:33 -0000 1.10
+++ smartphone.cpp 20 Jul 2003 22:27:17 -0000 1.11
@@ -636,6 +636,7 @@
HBITMAP bitmap;
char dateString[100];
TCHAR dateStringUnicode[100];
+ TCHAR scummVMVersionUnicode[100];
GetClientRect (_hWnd, &rcClient);
hDC = BeginPaint (_hWnd, &ps);
@@ -653,7 +654,8 @@
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);
More information about the Scummvm-git-logs
mailing list