Jactry Zeng : explorer: Remove unnecessary backslash when parsing / select and /root.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Nov 20 09:54:15 CST 2014


Module: wine
Branch: master
Commit: eaa747311fb13e6e6bf5753afe91bb0016b5d8c6
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=eaa747311fb13e6e6bf5753afe91bb0016b5d8c6

Author: Jactry Zeng <jzeng at codeweavers.com>
Date:   Thu Nov 20 21:22:29 2014 +0800

explorer: Remove unnecessary backslash when parsing /select and /root.

---

 programs/explorer/explorer.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/programs/explorer/explorer.c b/programs/explorer/explorer.c
index 1b900d0..a4f93bc 100644
--- a/programs/explorer/explorer.c
+++ b/programs/explorer/explorer.c
@@ -639,6 +639,7 @@ static int copy_path_string(LPWSTR target, LPWSTR source)
         while (*source && *source != ',') target[i++] = *source++;
         target[i] = 0;
     }
+    PathRemoveBackslashW(target);
     return i;
 }
 




More information about the wine-cvs mailing list