fixed handle inheritance and closing in win32 cli wrapper

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1057 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2008-08-04 23:44:14 +00:00
parent d666034e7f
commit eeabd66c84
3 changed files with 27 additions and 22 deletions
+2 -2
View File
@@ -141,9 +141,9 @@ void TextIOHandler::flushRaw() {
if (!buffer.empty()) {
#ifdef UNICODE
wxCharBuffer buf = buffer.mb_str(wxConvUTF8);
puts(buf);
fputs(buf,stdout);
#else
puts(buffer.c_str());
fputs(buffer.c_str(),stdout);
#endif
}
fflush(stdout);