diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-08-15 11:33:35 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-08-15 11:33:35 +0000 |
commit | de6edc08ee0c1faffb6456abc31fc9bd8a5b0e32 (patch) | |
tree | 0cbd2f129c3407707f46939458fdebcd306ac9da /plugins/StatusPlugins/StartupStatus | |
parent | 761620b2f9291f8e45816c7c93cbbbbf97b06254 (diff) |
StatusPlugins:
- Minor fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@14959 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/StatusPlugins/StartupStatus')
-rw-r--r-- | plugins/StatusPlugins/StartupStatus/options.cpp | 4 |
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>");
|