diff options
Diffstat (limited to 'linden/indra/newview/llappviewerwin32.cpp')
-rw-r--r-- | linden/indra/newview/llappviewerwin32.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linden/indra/newview/llappviewerwin32.cpp b/linden/indra/newview/llappviewerwin32.cpp index cba7174..1d05a6e 100644 --- a/linden/indra/newview/llappviewerwin32.cpp +++ b/linden/indra/newview/llappviewerwin32.cpp | |||
@@ -365,7 +365,8 @@ void create_console() | |||
365 | h_con_handle = _open_osfhandle(l_std_handle, _O_TEXT); | 365 | h_con_handle = _open_osfhandle(l_std_handle, _O_TEXT); |
366 | fp = _fdopen( h_con_handle, "w" ); | 366 | fp = _fdopen( h_con_handle, "w" ); |
367 | *stderr = *fp; | 367 | *stderr = *fp; |
368 | setvbuf( stderr, NULL, _IONBF, 0 ); | 368 | setvbuf( stderr, NULL, _IOFBF, 1024 ); //Assigning a buffer improves speed a LOT, esp on vista/win7 |
369 | //_IOLBF is borked. | ||
369 | } | 370 | } |
370 | 371 | ||
371 | LLAppViewerWin32::LLAppViewerWin32(const char* cmd_line) : | 372 | LLAppViewerWin32::LLAppViewerWin32(const char* cmd_line) : |