From 3b3266f2d7621992cbb48ad72f98afece7cb98d1 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Tue, 7 Apr 2015 18:46:09 +0000 Subject: Scriver: - Minor fixes! git-svn-id: http://svn.miranda-ng.org/main/trunk@12659 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Scriver/src/msgwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Scriver/src/msgwindow.cpp') diff --git a/plugins/Scriver/src/msgwindow.cpp b/plugins/Scriver/src/msgwindow.cpp index 542525c96b..71874509a9 100644 --- a/plugins/Scriver/src/msgwindow.cpp +++ b/plugins/Scriver/src/msgwindow.cpp @@ -47,7 +47,7 @@ TCHAR* GetWindowTitle(MCONTACT hContact, const char *szProto) if (hContact && szProto) { tokens[0] = GetNickname(hContact, szProto); tokenLen[0] = mir_tstrlen(tokens[0]); - tokens[1] = mir_tstrdup(pcli->pfnGetStatusModeDescription(szProto ? db_get_w(hContact, szProto, "Status", ID_STATUS_OFFLINE) : ID_STATUS_OFFLINE, 0)); + tokens[1] = mir_tstrdup(pcli->pfnGetStatusModeDescription(db_get_w(hContact, szProto, "Status", ID_STATUS_OFFLINE), 0)); tokenLen[1] = mir_tstrlen(tokens[1]); tokens[2] = db_get_tsa(hContact, "CList", "StatusMsg"); if (tokens[2] != NULL) { -- cgit v1.2.3