build wordpad with unicode="yes/no"

svn path=/trunk/; revision=25150
This commit is contained in:
Sylvain Petreolle
2006-12-13 22:05:14 +00:00
parent 82d454c95b
commit 1f89928830
3 changed files with 5 additions and 7 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ AllocAndLoadString(OUT LPTSTR *lpTarget,
uID);
if (ln++ > 0)
{
(*lpTarget) = (LPWSTR)LocalAlloc(LMEM_FIXED,
(*lpTarget) = (LPTSTR)LocalAlloc(LMEM_FIXED,
ln * sizeof(TCHAR));
if ((*lpTarget) != NULL)
{
+2 -2
View File
@@ -4,9 +4,9 @@ HINSTANCE hInstance;
HANDLE ProcessHeap;
int WINAPI
WinMain(HINSTANCE hThisInstance,
_tWinMain(HINSTANCE hThisInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
LPTSTR lpCmdLine,
int nCmdShow)
{
LPTSTR lpAppName, lpVersion, lpTitle;
@@ -1,9 +1,7 @@
<?xml version="1.0"?>
<rbuild xmlns:xi="http://www.w3.org/2001/XInclude">
<module name="wordpad" type="win32gui" installbase="system32" installname="wordpad.exe">
<module name="wordpad" type="win32gui" installbase="system32" installname="wordpad.exe" unicode="yes">
<include base="wordpad">.</include>
<define name="UNICODE" />
<define name="_UNICODE" />
<define name="__USE_W32API" />
<define name="_WIN32_IE">0x0600</define>
<define name="_WIN32_WINNT">0x0501</define>
@@ -25,4 +23,4 @@
<file>wordpad.rc</file>
<pch>precomp.h</pch>
</module>
</rbuild>
</rbuild>