From 993f52b27eb45e76a4699a748a3a317668323b23 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 12 Jan 2015 14:11:09 +0000 Subject: ICQ: fix for the default values in user info structure git-svn-id: http://svn.miranda-ng.org/main/trunk@11841 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/IcqOscarJ/src/tlv.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/IcqOscarJ/src/tlv.cpp') diff --git a/protocols/IcqOscarJ/src/tlv.cpp b/protocols/IcqOscarJ/src/tlv.cpp index d928e01205..1f395c6e63 100644 --- a/protocols/IcqOscarJ/src/tlv.cpp +++ b/protocols/IcqOscarJ/src/tlv.cpp @@ -221,9 +221,9 @@ int oscar_tlv_chain::getNumber(WORD wType, WORD wIndex) if (tlv) { if (tlv->wLen == 1) return getByte(wType, wIndex); - else if (tlv->wLen == 2) + if (tlv->wLen == 2) return getWord(wType, wIndex); - else if (tlv->wLen == 4) + if (tlv->wLen == 4) return getDWord(wType, wIndex); } return 0; -- cgit v1.2.3