Anatoly Lyutin wrote:
Vitaliy Margolen wrote:
Changelog:
Fix output console to output with console encoding.
static void output(const char *message)
This is not correct. This function and everything else, using it should
be rewritten as unicode, not ansi. Also you should use
Changelog:
Fix output console to output with console encoding.
static void output(const char *message)
Index: programs/start/start.c
===
RCS file: /home/wine/wine/programs/start/start.c,v
retrieving revision 1.5
diff -u -p -u
Anatoly Lyutin [EMAIL PROTECTED] wrote:
@@ -33,7 +33,20 @@
static void output(const char *message)
{
DWORD count;
- WriteFile(GetStdHandle(STD_OUTPUT_HANDLE), message, strlen(message), count,
NULL);
+ WCHAR *bufW;
+ char *bufC;
+ int len = strlen(message);
+ bufW =