Commit 0328a8a9 authored by Rafaël Carré's avatar Rafaël Carré

frontport [17255]

parent 39919b15
......@@ -130,6 +130,7 @@ static inline char *wxDnDFromLocale( const wxChar *stupid )
for (size_t i = 0; i < n; i++)
psz_local[i] = stupid[i];
psz_local[n] = '\0';
if ((n >= 1) && (stupid[n - 1] == '\n'))
psz_local[n - 1] = '\0';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment