From 338a21fdbdab5863b17dd64aa087110cc33049d6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 4 Feb 2019 21:33:18 +0300 Subject: fixes #1718 (ICQ10: major crutch to compensate behavior of the official ICQ client) --- protocols/ICQ-WIM/src/utils.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'protocols/ICQ-WIM/src/utils.cpp') diff --git a/protocols/ICQ-WIM/src/utils.cpp b/protocols/ICQ-WIM/src/utils.cpp index a962cb6a3c..afebaba7f4 100644 --- a/protocols/ICQ-WIM/src/utils.cpp +++ b/protocols/ICQ-WIM/src/utils.cpp @@ -226,15 +226,15 @@ bool IsChat(const CMStringW &aimid) int StatusFromString(const CMStringW &wszStatus) { - if (wszStatus == "online") + if (wszStatus == L"online") return ID_STATUS_ONLINE; - if (wszStatus == "n/a") + if (wszStatus == L"n/a") return ID_STATUS_NA; - if (wszStatus == "away") + if (wszStatus == L"away") return ID_STATUS_AWAY; - if (wszStatus == "occupied") + if (wszStatus == L"occupied") return ID_STATUS_OCCUPIED; - if (wszStatus == "dnd") + if (wszStatus == L"dnd") return ID_STATUS_DND; return ID_STATUS_OFFLINE; -- cgit v1.2.3