Commit a1bf9e2e authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Rush fix for 0.8.6

parent 2c036cf3
......@@ -124,7 +124,7 @@ static inline char *wxDnDFromLocale( const wxChar *stupid )
* UTF-8 but also Windows-1252(!) and ISO-8859-15(!) or any
* non-western encoding, it obviously fails.
*/
size_t n = wcslen (stupid);
size_t n = wcslen ((const wchar_t *)stupid);
char psz_local[n + 1];
for (size_t i = 0; i < n; i++)
......
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