https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f55ded91a4d93cf0d3e4bc7323371278e3228a11

commit f55ded91a4d93cf0d3e4bc7323371278e3228a11
Author:     Katayama Hirofumi MZ <[email protected]>
AuthorDate: Fri Apr 5 16:52:11 2019 +0900
Commit:     GitHub <[email protected]>
CommitDate: Fri Apr 5 16:52:11 2019 +0900

    [SHIMGVW] Fix cursor (#1471)
    
    Fix the cursor of shimgvw.dll. CORE-15219
---
 dll/win32/shimgvw/shimgvw.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dll/win32/shimgvw/shimgvw.c b/dll/win32/shimgvw/shimgvw.c
index c65410b2fd..46553b3e23 100644
--- a/dll/win32/shimgvw/shimgvw.c
+++ b/dll/win32/shimgvw/shimgvw.c
@@ -1030,7 +1030,7 @@ ImageView_CreateWindow(HWND hwnd, LPWSTR szFileName)
     WndClass.hInstance      = hInstance;
     WndClass.style          = CS_HREDRAW | CS_VREDRAW;
     WndClass.hIcon          = LoadIcon(hInstance, 
MAKEINTRESOURCE(IDI_APPICON));
-    WndClass.hCursor        = LoadCursor(hInstance, IDC_ARROW);
+    WndClass.hCursor        = LoadCursor(NULL, IDC_ARROW);
     WndClass.hbrBackground  = NULL;   /* less flicker */
 
     if (!RegisterClass(&WndClass)) return -1;

Reply via email to