diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-07-11 23:43:51 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-07-11 23:43:51 +0200 |
commit | 35ddb514ab7dbd6a753e52067ed089432f05459c (patch) | |
tree | 8cc0cc23817858bc4bf066f82d02bae59988cb70 /src/common/xchat.c | |
parent | c745e4ea79b9273a930e44d267752da75414810f (diff) |
Fix restoration via taskbar icon
Diffstat (limited to 'src/common/xchat.c')
-rw-r--r-- | src/common/xchat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/xchat.c b/src/common/xchat.c index 0849e234..11a65c17 100644 --- a/src/common/xchat.c +++ b/src/common/xchat.c @@ -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 */ |