diff options
author | Chris Wilson <chris+github@qwirx.com> | 2011-03-28 23:40:58 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2011-03-28 23:40:58 +0000 |
commit | f6ca48ce8b9fb8488997c2b44d4e20c6a159a189 (patch) | |
tree | be4d063455887a715fd645b2b1731e4ddc00273b /lib | |
parent | 3fe5e1ec1e245cb29119b6ea40603431e22c1dd6 (diff) |
Make ConvertFromWideString available to other modules.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/win32/emu.cpp | 3 | ||||
-rw-r--r-- | lib/win32/emu.h | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/lib/win32/emu.cpp b/lib/win32/emu.cpp index 5b2376eb..4b7a1b15 100644 --- a/lib/win32/emu.cpp +++ b/lib/win32/emu.cpp @@ -82,9 +82,6 @@ bool EnableBackupRights() return true; } -// forward declaration -char* ConvertFromWideString(const WCHAR* pString, unsigned int codepage); - // -------------------------------------------------------------------------- // // Function diff --git a/lib/win32/emu.h b/lib/win32/emu.h index d5ac7e1e..e398d5f6 100644 --- a/lib/win32/emu.h +++ b/lib/win32/emu.h @@ -422,6 +422,7 @@ bool ConvertFromUtf8 (const std::string& rSource, std::string& rDest, int destCodePage); bool ConvertUtf8ToConsole(const std::string& rSource, std::string& rDest); bool ConvertConsoleToUtf8(const std::string& rSource, std::string& rDest); +char* ConvertFromWideString(const WCHAR* pString, unsigned int codepage); // Utility function which returns a default config file name, // based on the path of the current executable. |