Fixed crash in fribidi (if fribid was not used, a pointer

to a temporary string was returned).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7515 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2011-01-24 00:46:31 +00:00
parent 4b3c1fa16d
commit 8a24515cff

View File

@ -58,7 +58,7 @@ public:
const wchar_t *w_gettext(const char* original);
bool isRTLLanguage() const;
const wchar_t* fribidize(const wchar_t* in_ptr);
const wchar_t* fribidize(const irr::core::stringw str) { return fribidize(str.c_str()); }
const wchar_t* fribidize(const irr::core::stringw &str) { return fribidize(str.c_str()); }
const std::vector<std::string>* getLanguageList() const;
}; // Translations