Remove returns of wxEmptyString
This commit is contained in:
@@ -1160,11 +1160,11 @@ int wxString::CmpNoCase(const wxString& s) const
|
||||
|
||||
wxString wxString::FromAscii(const char *ascii, size_t len)
|
||||
{
|
||||
if (!ascii || len == 0)
|
||||
return wxEmptyString;
|
||||
|
||||
wxString res;
|
||||
|
||||
if (!ascii || len == 0)
|
||||
return res;
|
||||
|
||||
{
|
||||
wxStringInternalBuffer buf(res, len);
|
||||
wxStringCharType *dest = buf;
|
||||
|
||||
Reference in New Issue
Block a user