- Timestamp:
- 27/08/2011 15:49:46 (9 months ago)
- File:
-
- 1 edited
-
box/trunk/lib/common/Logging.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/lib/common/Logging.cpp
r2965 r2984 347 347 #ifdef WIN32 348 348 std::string output = buf.str(); 349 ConvertUtf8ToConsole(output.c_str(), output); 350 fprintf(target, "%s\n", output.c_str()); 349 if(ConvertUtf8ToConsole(output.c_str(), output) == false) 350 { 351 fprintf(target, "%s (and failed to convert to console encoding)\n", 352 output.c_str()); 353 } 354 else 355 { 356 fprintf(target, "%s\n", output.c_str()); 357 } 351 358 #else 352 359 fprintf(target, "%s\n", buf.str().c_str());
Note: See TracChangeset
for help on using the changeset viewer.
