Alexandre Julliard : wine.inf: Add quotes around the wordpad.exe path.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Jan 29 09:10:07 CST 2016


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Jan 29 13:30:29 2016 +0900

wine.inf: Add quotes around the wordpad.exe path.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 loader/wine.inf.in | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/loader/wine.inf.in b/loader/wine.inf.in
index 5d33d17..d22b29b 100644
--- a/loader/wine.inf.in
+++ b/loader/wine.inf.in
@@ -218,13 +218,13 @@ HKCR,Msi.Patch,,2,"Windows Installer Patch"
 HKCR,Msi.Patch\DefaultIcon,,2,"msiexec.exe"
 HKCR,Msi.Patch\shell\Open\command,,2,"%11%\msiexec.exe /p ""%1"""
 HKCR,rtffile,,2,"Rich Text Document"
-HKCR,rtffile\shell\open\command,,2,"%16422%\Windows NT\Accessories\wordpad.exe %1"
-HKCR,rtffile\shell\print\command,,2,"%16422%\Windows NT\Accessories\wordpad.exe /p %1"
+HKCR,rtffile\shell\open\command,,2,"""%16422%\Windows NT\Accessories\wordpad.exe"" %1"
+HKCR,rtffile\shell\print\command,,2,"""%16422%\Windows NT\Accessories\wordpad.exe"" /p %1"
 HKCR,txtfile,,2,"Text Document"
 HKCR,txtfile\shell\open\command,,2,"%11%\notepad.exe %1"
 HKCR,txtfile\shell\print\command,,2,"%11%\notepad.exe /p %1"
-HKCR,wrifile\shell\open\command,,2,"%16422%\Windows NT\Accessories\wordpad.exe %1"
-HKCR,wrifile\shell\print\command,,2,"%16422%\Windows NT\Accessories\wordpad.exe /p %1"
+HKCR,wrifile\shell\open\command,,2,"""%16422%\Windows NT\Accessories\wordpad.exe"" %1"
+HKCR,wrifile\shell\print\command,,2,"""%16422%\Windows NT\Accessories\wordpad.exe"" /p %1"
 HKCR,xmlfile,,2,"XML Document"
 HKCR,xmlfile\shell\open\command,,2,"""%11%\winebrowser.exe"" -nohome"
 HKCR,xmlfile\shell\open\ddeexec,,2,"""%1"",,-1,0,,,,"




More information about the wine-cvs mailing list