X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/70426fba08782d2aaad398230458c96fcedd6f5e..da2b4b7a57f816723ed26dbbeca0549b9ce6735a:/src/common/intl.cpp diff --git a/src/common/intl.cpp b/src/common/intl.cpp index 12beb715c7..08797387a7 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -1377,12 +1377,13 @@ const wxMB2WXbuf wxLocale::GetString(const wxChar *szOrigString, return (wxMB2WXbuf)(szOrigString); } - else - { - return wxConvertMB2WX(pszTrans); // or preferably wxCSConv(charset).cMB2WX(pszTrans) or something, - // a macro similar to wxConvertMB2WX could be written for that - } + // or preferably wxCSConv(charset).cMB2WX(pszTrans) or something, a macro + // similar to wxConvertMB2WX could be written for that + + return wxConvertMB2WX(pszTrans); + + // undo the hack from the beginning of this function #undef szOrgString }