Francois Gouget : shell32: Fix the spelling of a variable name.

Alexandre Julliard julliard at winehq.org
Wed Dec 11 16:35:00 CST 2019


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Wed Dec 11 02:57:52 2019 +0100

shell32: Fix the spelling of a variable name.

Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/shell32/assoc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/shell32/assoc.c b/dlls/shell32/assoc.c
index d3f20c225b..a501dea2e7 100644
--- a/dlls/shell32/assoc.c
+++ b/dlls/shell32/assoc.c
@@ -890,7 +890,7 @@ static HRESULT WINAPI ApplicationAssociationRegistration_QueryCurrentDefault(IAp
     IApplicationAssociationRegistrationImpl *This = impl_from_IApplicationAssociationRegistration(iface);
     static WCHAR urlassoc[] = {'U','r','l','A','s','s','o','c','i','a','t','i','o','n','s',0};
     static WCHAR mimeassoc[] = {'M','I','M','E','A','s','s','o','c','i','a','t','i','o','n','s',0};
-    static WCHAR assocations[] = {'S','o','f','t','w','a','r','e','\\','M','i','c','r','o','s','o','f','t','\\',
+    static WCHAR associations[] = {'S','o','f','t','w','a','r','e','\\','M','i','c','r','o','s','o','f','t','\\',
                                 'W','i','n','d','o','w','s','\\','S','h','e','l','l','\\',
                                 'A','s','s','o','c','i','a','t','i','o','n','s',0};
     static WCHAR slash[] = {'\\',0};
@@ -940,7 +940,7 @@ static HRESULT WINAPI ApplicationAssociationRegistration_QueryCurrentDefault(IAp
     }
     else
     {
-        ret = RegOpenKeyExW(HKEY_CURRENT_USER, assocations, 0, KEY_READ, &hkey);
+        ret = RegOpenKeyExW(HKEY_CURRENT_USER, associations, 0, KEY_READ, &hkey);
         if(ret == ERROR_SUCCESS)
         {
             if(type == AT_URLPROTOCOL)




More information about the wine-cvs mailing list