mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user