mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-21 13:10:19 +00:00
Fix restoration via taskbar icon
This commit is contained in:
@@ -923,7 +923,7 @@ enum_windows_impl (HWND current_window, LPARAM lParam)
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
GetWindowText (current_window, window_name, 10);
|
GetWindowText (current_window, window_name, 8); /* name length + 1 */
|
||||||
if (stricmp (window_name, "hexchat") == 0)
|
if (stricmp (window_name, "hexchat") == 0)
|
||||||
{
|
{
|
||||||
/* use a separate if block, this way we don't have to call GetWindowModuleFileName() for each hit */
|
/* use a separate if block, this way we don't have to call GetWindowModuleFileName() for each hit */
|
||||||
|
|||||||
Reference in New Issue
Block a user