Last .empty() string source cleaning before 2.5.4.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -119,7 +119,7 @@
|
||||
wxChar *
|
||||
copystring (const wxChar *s)
|
||||
{
|
||||
if (s == NULL) s = wxT("");
|
||||
if (s == NULL) s = wxEmptyString;
|
||||
size_t len = wxStrlen (s) + 1;
|
||||
|
||||
wxChar *news = new wxChar[len];
|
||||
@@ -281,7 +281,7 @@ const wxChar *wxGetInstallPrefix()
|
||||
#ifdef wxINSTALL_PREFIX
|
||||
return wxT(wxINSTALL_PREFIX);
|
||||
#else
|
||||
return wxT("");
|
||||
return wxEmptyString;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user