This commit is contained in:
kornerr committed 2026-11-05 17:24:08 +03:00
1 parent 005616054a
commit 14d81266ac
1 file changed
+1 -1
+1 -1
View File
@@ -3,7 +3,7 @@ import WinSDK
func otherSetupWindowIcons(_ iconId: Int) {
// Only visit windows owned by this UI thread, never another application's window.
EnumThreadWindows(GetCurrentThreadId(), { wnd, iconId in
let resource = UnsafePointer<WCHAR>(bitPattern: iconId)
let resource = UnsafePointer<WCHAR>(bitPattern: Int(iconId))
let module = GetModuleHandleW(nil)
// Small icon