Skip to content

Commit

Permalink
fixed assert on incorrect headers
Browse files Browse the repository at this point in the history
  • Loading branch information
vslavik committed Feb 27, 2005
1 parent 5094324 commit 34d2ca3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion poedit/src/catalog.cpp
Expand Up @@ -143,7 +143,10 @@ static wxString UnescapeCEscapes(const wxString& str)
wxString out;
size_t len = str.size();
size_t i;


if ( len == 0 )
return str;

for (i = 0; i < len-1; i++)
{
if (str[i] == _T('\\'))
Expand Down

0 comments on commit 34d2ca3

Please sign in to comment.