diff options
author | Chris Wilson <chris+github@qwirx.com> | 2008-12-30 18:30:12 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2008-12-30 18:30:12 +0000 |
commit | c13f1bfdc3673ba1d1b79284d834e9248c20e8ef (patch) | |
tree | 45901c677494a08728b3ef4d35d3302a2bd64826 /lib/win32/emu.h | |
parent | f5a529cfd4a9f1920c0b1d75375258dab2d71be1 (diff) |
Change ConvertTo/FromUtf8 to take a std::string instead of a const char
*, for convenience and C++ style.
Diffstat (limited to 'lib/win32/emu.h')
-rw-r--r-- | lib/win32/emu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/win32/emu.h b/lib/win32/emu.h index 1d3fd150..67921264 100644 --- a/lib/win32/emu.h +++ b/lib/win32/emu.h @@ -384,8 +384,8 @@ bool ConvertToUtf8 (const std::string& rSource, std::string& rDest, int sourceCodePage); bool ConvertFromUtf8 (const std::string& rSource, std::string& rDest, int destCodePage); -bool ConvertUtf8ToConsole(const char* pString, std::string& rDest); -bool ConvertConsoleToUtf8(const char* pString, std::string& rDest); +bool ConvertUtf8ToConsole(const std::string& rSource, std::string& rDest); +bool ConvertConsoleToUtf8(const std::string& rSource, std::string& rDest); // Utility function which returns a default config file name, // based on the path of the current executable. |