File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -94,10 +94,10 @@ int TLocalisation::OpenLocaleFile(const String &path)
9494}
9595// ---------------------------------------------------------------------------
9696
97- wchar_t * TLocalisation::LocaliseText (const String &mark)
97+ String TLocalisation::LocaliseText (const String &mark)
9898{
9999 if (DllHandle)
100- return Localise (mark.c_str ());
100+ return String ( Localise (mark.c_str () ));
101101 else
102102 return NULL ;
103103}
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ class TLocalisation
3737 static HINSTANCE LoadLib (const String &dll_path);
3838 static int FreeLib ();
3939 static int OpenLocaleFile (const String &path);
40- static wchar_t * LocaliseText (const String &mark);
40+ static String LocaliseText (const String &mark);
4141 static const wchar_t *GetLastError ();
4242};
4343// ---------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments