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

Untested bug-to-bug fix for clueless file browsers.

I don't have a broken file browser, and I can't compile wxWidgets,
so no way I can test that.
parent f96942ab
...@@ -137,6 +137,10 @@ static inline char *wxDnDFromLocale( const wxChar *stupid ) ...@@ -137,6 +137,10 @@ static inline char *wxDnDFromLocale( const wxChar *stupid )
psz_local[i] = (char)stupid[i]; psz_local[i] = (char)stupid[i];
while (i--); while (i--);
char *dumb_peer_app = strrchr (psz_local, '\n');
if (dump_peer_app != NULL)
dumb_peer_app = 0;
return FromLocaleDup( psz_local ); return FromLocaleDup( psz_local );
} }
# define wxDnDLocaleFree( string ) free( string ) # define wxDnDLocaleFree( string ) free( string )
......
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