summaryrefslogtreecommitdiff
path: root/plugins/StatusPlugins/StartupStatus/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/StatusPlugins/StartupStatus/options.cpp')
-rw-r--r--plugins/StatusPlugins/StartupStatus/options.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/StatusPlugins/StartupStatus/options.cpp b/plugins/StatusPlugins/StartupStatus/options.cpp
index 21ca2d2385..f5920c333b 100644
--- a/plugins/StatusPlugins/StartupStatus/options.cpp
+++ b/plugins/StatusPlugins/StartupStatus/options.cpp
@@ -142,8 +142,10 @@ static TCHAR* GetLinkDescription(TSettingsList& protoSettings)
status = TranslateT("<last>");
else if (p.status == ID_STATUS_CURRENT)
status = TranslateT("<current>");
- else if (p.status >= MIN_STATUS && p.status <= MAX_STATUS )
+ else if (p.status >= MIN_STATUS && p.status <= MAX_STATUS)
status = pcli->pfnGetStatusModeDescription(p.status, 0);
+ else
+ status = NULL;
if (status == NULL)
status = TranslateT("<unknown>");