summaryrefslogtreecommitdiff
path: root/plugins/Console/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Console/src')
-rw-r--r--plugins/Console/src/Console.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/Console/src/Console.cpp b/plugins/Console/src/Console.cpp
index e0a12e53c3..b3096178e6 100644
--- a/plugins/Console/src/Console.cpp
+++ b/plugins/Console/src/Console.cpp
@@ -122,9 +122,6 @@ static IconItem iconList[] =
static int OnTTBLoaded(WPARAM wParam,LPARAM lParam)
{
- if ( !IsWindow(hwndConsole))
- return 0;
-
int state = IsWindowVisible(hwndConsole);
Icon_Register(hInst, "Console", iconList, SIZEOF(iconList));