*** empty log message ***

This commit is contained in:
Arvid Norberg
2005-08-17 02:38:34 +00:00
parent c2b496f472
commit a29bf51908
2 changed files with 2 additions and 23 deletions

View File

@@ -93,7 +93,7 @@ namespace
std::string ret;
ret.resize(size);
size = wcstombs(&ret[0], ws.c_str(), size + 1);
if (size == -1) return s;
if (size == wchar_t(-1)) return s;
ret.resize(size);
return ret;
}