From de6edc08ee0c1faffb6456abc31fc9bd8a5b0e32 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Sat, 15 Aug 2015 11:33:35 +0000 Subject: StatusPlugins: - Minor fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@14959 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/StatusPlugins/StartupStatus/options.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins/StatusPlugins/StartupStatus') 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(""); else if (p.status == ID_STATUS_CURRENT) status = TranslateT(""); - 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(""); -- cgit v1.2.3