From 669a3ade6e7bd85784deb72dd5e5abe1b6a9cc1e Mon Sep 17 00:00:00 2001
From: Rozhuk Ivan <rozhuk.im@gmail.com>
Date: Sun, 9 Mar 2014 00:59:54 +0000
Subject: MRA

Fix: Gender user info update




git-svn-id: http://svn.miranda-ng.org/main/trunk@8483 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
---
 protocols/MRA/src/Mra_proto.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'protocols/MRA')

diff --git a/protocols/MRA/src/Mra_proto.cpp b/protocols/MRA/src/Mra_proto.cpp
index b243c3efae..b8b37f53d4 100644
--- a/protocols/MRA/src/Mra_proto.cpp
+++ b/protocols/MRA/src/Mra_proto.cpp
@@ -812,8 +812,8 @@ bool CMraProto::CmdAnketaInfo(int seq, BinBuffer &buf)
 						mraSetStringW(hContact, "LastName", valW);
 					}
 					else if (fld == "Sex") {
-						buf >> valW;
-						switch (_wtoi(valW)) {
+						buf >> val;
+						switch (atoi(val)) {
 						case 1:// �������
 							setByte(hContact, "Gender", 'M');
 							break;
-- 
cgit v1.2.3