Piotr Caban : wine.inf: Add quotes to webbrowser command keys.

Alexandre Julliard julliard at winehq.org
Wed May 4 13:47:41 CDT 2011


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

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Wed May  4 13:20:41 2011 +0200

wine.inf: Add quotes to webbrowser command keys.

---

 dlls/msi/tests/package.c |    5 +----
 tools/wine.inf.in        |   10 +++++-----
 2 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/dlls/msi/tests/package.c b/dlls/msi/tests/package.c
index 6060ea4..ce8866c 100644
--- a/dlls/msi/tests/package.c
+++ b/dlls/msi/tests/package.c
@@ -7983,10 +7983,7 @@ static void test_appsearch(void)
     size = sizeof(prop);
     r = MsiGetPropertyA( hpkg, "WEBBROWSERPROG", prop, &size );
     ok( r == ERROR_SUCCESS, "get property failed: %d\n", r);
-    todo_wine
-    {
-        ok( lstrlenA(prop) != 0, "Expected non-zero length\n");
-    }
+    ok( lstrlenA(prop) != 0, "Expected non-zero length\n");
 
     size = sizeof(prop);
     r = MsiGetPropertyA( hpkg, "NOTEPAD", prop, &size );
diff --git a/tools/wine.inf.in b/tools/wine.inf.in
index 1ce4ffc..8e8eba8 100644
--- a/tools/wine.inf.in
+++ b/tools/wine.inf.in
@@ -176,7 +176,7 @@ HKCR,folder\shell\open\ddeexec,"NoActivateHandler",2,""
 HKCR,folder\shell\open\ddeexec\application,,2,"Folders"
 HKCR,hlpfile,,2,"Help File"
 HKCR,hlpfile\shell\open\command,,2,"%11%\winhlp32.exe %1"
-HKCR,htmlfile\shell\open\command,,2,"%11%\winebrowser.exe -nohome"
+HKCR,htmlfile\shell\open\command,,2,"""%11%\winebrowser.exe"" -nohome"
 HKCR,htmlfile\shell\open\ddeexec,,2,"""%1"",,-1,0,,,,"
 HKCR,htmlfile\shell\open\ddeexec,"NoActivateHandler",2,""
 HKCR,htmlfile\shell\open\ddeexec\Application,,2,"IExplore"
@@ -210,22 +210,22 @@ HKCR,txtfile\shell\print\command,,2,"%11%\notepad.exe /p %1"
 HKCR,wrifile\shell\open\command,,2,"%11%\wordpad.exe %1"
 HKCR,wrifile\shell\print\command,,2,"%11%\wordpad.exe /p %1"
 HKCR,xmlfile,,2,"XML Document"
-HKCR,xmlfile\shell\open\command,,2,"%11%\winebrowser.exe -nohome"
+HKCR,xmlfile\shell\open\command,,2,"""%11%\winebrowser.exe"" -nohome"
 HKCR,xmlfile\shell\open\ddeexec,,2,"""%1"",,-1,0,,,,"
 HKCR,xmlfile\shell\open\ddeexec,"NoActivateHandler",2,""
 HKCR,xmlfile\shell\open\ddeexec\Application,,2,"IExplore"
 HKCR,xmlfile\shell\open\ddeexec\Topic,,2,"WWW_OpenURL"
-HKCR,ftp\shell\open\command,,2,"%11%\winebrowser.exe -nohome"
+HKCR,ftp\shell\open\command,,2,"""%11%\winebrowser.exe"" -nohome"
 HKCR,ftp\shell\open\ddeexec,,2,"""%1"",,-1,0,,,,"
 HKCR,ftp\shell\open\ddeexec,"NoActivateHandler",2,""
 HKCR,ftp\shell\open\ddeexec\Application,,2,"IExplore"
 HKCR,ftp\shell\open\ddeexec\Topic,,2,"WWW_OpenURL"
-HKCR,http\shell\open\command,,2,"%11%\winebrowser.exe -nohome"
+HKCR,http\shell\open\command,,2,"""%11%\winebrowser.exe"" -nohome"
 HKCR,http\shell\open\ddeexec,,2,"""%1"",,-1,0,,,,"
 HKCR,http\shell\open\ddeexec,"NoActivateHandler",2,""
 HKCR,http\shell\open\ddeexec\Application,,2,"IExplore"
 HKCR,http\shell\open\ddeexec\Topic,,2,"WWW_OpenURL"
-HKCR,https\shell\open\command,,2,"%11%\winebrowser.exe -nohome"
+HKCR,https\shell\open\command,,2,"""%11%\winebrowser.exe"" -nohome"
 HKCR,https\shell\open\ddeexec,,2,"""%1"",,-1,0,,,,"
 HKCR,https\shell\open\ddeexec,"NoActivateHandler",2,""
 HKCR,https\shell\open\ddeexec\Application,,2,"IExplore"




More information about the wine-cvs mailing list