Module: wine Branch: master Commit: b88ba537ea879772dc86fc8b811523744795b22d URL: https://source.winehq.org/git/wine.git/?a=commit;h=b88ba537ea879772dc86fc8b8...
Author: Brendan Shanks bshanks@codeweavers.com Date: Tue May 24 12:38:32 2022 -0700
win32u: Fix typo in NtUserGetIconInfo.
Signed-off-by: Brendan Shanks bshanks@codeweavers.com
---
dlls/win32u/cursoricon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/win32u/cursoricon.c b/dlls/win32u/cursoricon.c index 032110b26d0..e51feb87115 100644 --- a/dlls/win32u/cursoricon.c +++ b/dlls/win32u/cursoricon.c @@ -600,7 +600,7 @@ BOOL WINAPI NtUserGetIconInfo( HICON icon, ICONINFO *info, UNICODE_STRING *modul { size_t size = min( res_name->MaximumLength, lstrlenW( obj->resname) * sizeof(WCHAR) ); if (size) memcpy( res_name->Buffer, obj->resname, size ); - module->Length = size / sizeof(WCHAR); /* length in chars, not bytes */ + res_name->Length = size / sizeof(WCHAR); /* length in chars, not bytes */ } } }