X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/70426fba08782d2aaad398230458c96fcedd6f5e..0e7bd27a8dfc9a8350355cf51023046fc30496ef:/src/common/intl.cpp?ds=inline

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
 }