Introduction
Introduction Statistics Contact Development Disclaimer Help
tWindows server now displays text properly (and echoes standard input) - vaccin…
git clone git://src.adamsgaard.dk/vaccinewars
Log
Files
Refs
README
LICENSE
---
commit dac4fb5018c57a1bf3cd6bc6d4172489ee3c3a28
parent 4dc47805d7db3ceee8a48e177d75f15e60619c52
Author: Ben Webb <[email protected]>
Date: Mon, 9 Apr 2001 23:06:20 +0000
Windows server now displays text properly (and echoes standard input)
Diffstat:
M src/winmain.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/winmain.c b/src/winmain.c
t@@ -70,7 +70,6 @@ int APIENTRY WinMain(HINSTANCE hInstance,HINSTANCE hPrevInst…
split=g_strsplit(lpszCmdParam," ",0);
argc=0;
while (split[argc]) argc++;
-// g_set_print_handler(Win32PrintFunc);
HandleCmdLine(argc,split);
g_strfreev(split);
if (WantVersion || WantHelp) {
t@@ -85,6 +84,7 @@ int APIENTRY WinMain(HINSTANCE hInstance,HINSTANCE hPrevInst…
SetConsoleTitle(_("dopewars server"));
g_log_set_handler(NULL,G_LOG_LEVEL_MESSAGE|G_LOG_LEVEL_WARNING,
ServerLogMessage,NULL);
+ g_set_print_handler(Win32PrintFunc);
newterm(NULL,NULL,NULL);
ServerLoop();
} else if (WantedClient==CLIENT_CURSES) {
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.