diff options
author | archshift <admin@archshift.com> | 2014-09-07 20:50:43 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-09-09 00:43:22 +0200 |
commit | 5472fd4d9b19011a36604a9c7f9c66f3ebe84e3f (patch) | |
tree | b55a6013b561cbb1986a04f2154fe18c0774e891 /src/common/console_listener.cpp | |
parent | loader.cpp: improved file extension checking, made Upper/LowerStr useful (diff) | |
download | yuzu-5472fd4d9b19011a36604a9c7f9c66f3ebe84e3f.tar yuzu-5472fd4d9b19011a36604a9c7f9c66f3ebe84e3f.tar.gz yuzu-5472fd4d9b19011a36604a9c7f9c66f3ebe84e3f.tar.bz2 yuzu-5472fd4d9b19011a36604a9c7f9c66f3ebe84e3f.tar.lz yuzu-5472fd4d9b19011a36604a9c7f9c66f3ebe84e3f.tar.xz yuzu-5472fd4d9b19011a36604a9c7f9c66f3ebe84e3f.tar.zst yuzu-5472fd4d9b19011a36604a9c7f9c66f3ebe84e3f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/common/console_listener.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/common/console_listener.cpp b/src/common/console_listener.cpp index 27697ef1f..96970ab17 100644 --- a/src/common/console_listener.cpp +++ b/src/common/console_listener.cpp @@ -47,7 +47,7 @@ void ConsoleListener::Open(bool Hidden, int Width, int Height, const char *Title // Save the window handle that AllocConsole() created hConsole = GetStdHandle(STD_OUTPUT_HANDLE); // Set the console window title - SetConsoleTitle(UTF8ToTStr(Title).c_str()); + SetConsoleTitle(Common::UTF8ToTStr(Title).c_str()); // Set letter space LetterSpace(80, 4000); //MoveWindow(GetConsoleWindow(), 200,200, 800,800, true); @@ -193,11 +193,11 @@ void ConsoleListener::PixelSpace(int Left, int Top, int Width, int Height, bool { Str.resize(Str.size() + 1); if (!ReadConsoleOutputCharacter(hConsole, Str.back().data(), ReadBufferSize, coordScreen, &cCharsRead)) - SLog += StringFromFormat("WriteConsoleOutputCharacter error"); + SLog += Common::StringFromFormat("WriteConsoleOutputCharacter error"); Attr.resize(Attr.size() + 1); if (!ReadConsoleOutputAttribute(hConsole, Attr.back().data(), ReadBufferSize, coordScreen, &cAttrRead)) - SLog += StringFromFormat("WriteConsoleOutputAttribute error"); + SLog += Common::StringFromFormat("WriteConsoleOutputAttribute error"); // Break on error if (cAttrRead == 0) break; @@ -223,9 +223,9 @@ void ConsoleListener::PixelSpace(int Left, int Top, int Width, int Height, bool for (size_t i = 0; i < Attr.size(); i++) { if (!WriteConsoleOutputCharacter(hConsole, Str[i].data(), ReadBufferSize, coordScreen, &cCharsWritten)) - SLog += StringFromFormat("WriteConsoleOutputCharacter error"); + SLog += Common::StringFromFormat("WriteConsoleOutputCharacter error"); if (!WriteConsoleOutputAttribute(hConsole, Attr[i].data(), ReadBufferSize, coordScreen, &cAttrWritten)) - SLog += StringFromFormat("WriteConsoleOutputAttribute error"); + SLog += Common::StringFromFormat("WriteConsoleOutputAttribute error"); BytesWritten += cAttrWritten; coordScreen = GetCoordinates(BytesWritten, LBufWidth); |