summaryrefslogtreecommitdiff
path: root/src/modules/clist/clistmod.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-10-10 15:13:20 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-10-10 15:13:20 +0000
commit45a5b1f9b7709f8d93b57abea7ba46b44eac5707 (patch)
tree03f5a5db7a5e8a951951710a3d383a936a14ce74 /src/modules/clist/clistmod.cpp
parenteb25a0d7ed0da6bd4630c553be933df5bd46b6b9 (diff)
- MS_CLIST_GETSTATUSMODEDESCRIPTION replaced with the direct clist call
- crazy & obsolete constant GSMDF_PREFIXONLINE removed git-svn-id: http://svn.miranda-ng.org/main/trunk@6428 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/clist/clistmod.cpp')
-rw-r--r--src/modules/clist/clistmod.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/modules/clist/clistmod.cpp b/src/modules/clist/clistmod.cpp
index 025f3dfff7..ab43e226aa 100644
--- a/src/modules/clist/clistmod.cpp
+++ b/src/modules/clist/clistmod.cpp
@@ -108,13 +108,8 @@ TCHAR* fnGetStatusModeDescription(int mode, int flags)
}
return NULL;
}
- if (noPrefixReqd || !(flags & GSMDF_PREFIXONLINE))
- return (flags & GSMDF_UNTRANSLATED) ? descr : TranslateTS(descr);
- lstrcpy(szMode, TranslateT("Online"));
- lstrcat(szMode, _T(": "));
- lstrcat(szMode, (flags & GSMDF_UNTRANSLATED) ? descr : TranslateTS(descr));
- return szMode;
+ return (flags & GSMDF_UNTRANSLATED) ? descr : TranslateTS(descr);
}
static INT_PTR GetStatusModeDescription(WPARAM wParam, LPARAM lParam)