* Fixed the console in Linux so the prompt doesn't get hung, that was so

* annoying. Original idea by stump

--HG--
branch : trunk
This commit is contained in:
Brian
2010-01-30 09:26:56 -07:00
parent cfa8ff7bd6
commit 6a3cd98529
+6 -1
View File
@@ -98,7 +98,12 @@ void utf8print(const char* str)
CharToOemBuffW(&wtemp_buf[0],&temp_buf[0],wtemp_len+1); CharToOemBuffW(&wtemp_buf[0],&temp_buf[0],wtemp_len+1);
printf(temp_buf); printf(temp_buf);
#else #else
printf(str); {
va_list v;
vprintf(str, v);
va_end(v);
fflush(stdout);
}
#endif #endif
} }