From 54833c9b7cf5f8f5e37b43038e1fa4c1c369deb0 Mon Sep 17 00:00:00 2001 From: Piotr Caban Date: Wed, 4 May 2011 13:20:41 +0200 Subject: [PATCH] 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 6060ea4af04..ce8866cf2ef 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 1ce4ffc04a7..8e8eba8e75d 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"