From: Jason Rumney Date: Tue, 16 Apr 2002 23:24:29 +0000 (+0000) Subject: (construct_drag_n_drop): Decode file name before using. X-Git-Tag: emacs-pretest-21.2.91~299 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=eb85d6027c17fcf56765cd72a59aec59149497a7;p=emacs.git (construct_drag_n_drop): Decode file name before using. --- diff --git a/src/ChangeLog b/src/ChangeLog index 473dc18101d..c82bf3f014c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2002-04-17 Jason Rumney + + * w32fns.c (Fx_file_dialog): Decode file name before using. + + * w32term.c (construct_drag_n_drop): Likewise. + 2002-04-16 Gerd Moellmann * buffer.c (MMAP_ALLOCATED_P): New macro to be set from system diff --git a/src/w32term.c b/src/w32term.c index 235dd74585e..50ed23327ac 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -6255,7 +6255,7 @@ construct_drag_n_drop (result, msg, f) continue; name = alloca (len + 1); DragQueryFile (hdrop, i, name, len + 1); - files = Fcons (build_string (name), files); + files = Fcons (DECODE_FILE(build_string (name)), files); } DragFinish (hdrop);