diff options
author | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-03-09 00:59:54 +0000 |
---|---|---|
committer | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-03-09 00:59:54 +0000 |
commit | 669a3ade6e7bd85784deb72dd5e5abe1b6a9cc1e (patch) | |
tree | 4baf815f6013e1544465bb15f76b7a15a0ef8942 /protocols/MRA | |
parent | 39f98639d0b6a636dee84e978cb4ddcd11967ed5 (diff) |
MRA
Fix: Gender user info update
git-svn-id: http://svn.miranda-ng.org/main/trunk@8483 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA')
-rw-r--r-- | protocols/MRA/src/Mra_proto.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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;
|