mirror of
https://github.com/moparisthebest/hexchat
synced 2024-12-22 23:58:52 -05:00
Fix restoration via taskbar icon
This commit is contained in:
parent
c745e4ea79
commit
35ddb514ab
@ -923,7 +923,7 @@ enum_windows_impl (HWND current_window, LPARAM lParam)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
GetWindowText (current_window, window_name, 10);
|
||||
GetWindowText (current_window, window_name, 8); /* name length + 1 */
|
||||
if (stricmp (window_name, "hexchat") == 0)
|
||||
{
|
||||
/* use a separate if block, this way we don't have to call GetWindowModuleFileName() for each hit */
|
||||
|
Loading…
Reference in New Issue
Block a user