diff options
Diffstat (limited to 'plugins/Clist_modern')
-rw-r--r-- | plugins/Clist_modern/src/modern_statusbar.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Clist_modern/src/modern_statusbar.cpp b/plugins/Clist_modern/src/modern_statusbar.cpp index 81f40b4bd2..5d35f09460 100644 --- a/plugins/Clist_modern/src/modern_statusbar.cpp +++ b/plugins/Clist_modern/src/modern_statusbar.cpp @@ -286,6 +286,9 @@ int ModernDrawStatusBarWorker(HWND hWnd, HDC hDC) ProtosData.insert(p);
}
+ if ( ProtosData.getCount() == 0)
+ return 0;
+
//START MULTILINE HERE
int orig_protoCount = protoCount;
int orig_visProtoCount = ProtosData.getCount();
|