Revert r33366 for regedit and compile it as Unicode with ANSI command line parsing...
authorColin Finck <colin@reactos.org>
Thu, 8 May 2008 19:19:22 +0000 (19:19 +0000)
committerColin Finck <colin@reactos.org>
Thu, 8 May 2008 19:19:22 +0000 (19:19 +0000)
Changing everything internally to TCHAR would be like rewriting the app, because regedit even hardcodes string sizes in bytes and then memcmp's them... (see regproc.c:234)
Compiling it ANSI-only also doesn't work, because the API's for ACL stuff are Unicode-only.

svn path=/trunk/; revision=33382

reactos/base/applications/regedit/regedit.rbuild

index da34681..fdd1bd7 100644 (file)
@@ -1,8 +1,10 @@
 <?xml version="1.0"?>
 <!DOCTYPE group SYSTEM "../../../tools/rbuild/project.dtd">
 <group xmlns:xi="http://www.w3.org/2001/XInclude">
 <?xml version="1.0"?>
 <!DOCTYPE group SYSTEM "../../../tools/rbuild/project.dtd">
 <group xmlns:xi="http://www.w3.org/2001/XInclude">
-<module name="regedit" type="win32gui" installname="regedit.exe" unicode="yes">
+<module name="regedit" type="win32gui" installname="regedit.exe">
        <include base="regedit">.</include>
        <include base="regedit">.</include>
+       <define name="UNICODE" />
+       <define name="_UNICODE" />
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0600</define>
        <library>uuid</library>
        <define name="_WIN32_IE">0x0501</define>
        <define name="_WIN32_WINNT">0x0600</define>
        <library>uuid</library>