summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skypekit/contact.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Skype/src/skypekit/contact.cpp')
-rw-r--r--protocols/Skype/src/skypekit/contact.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/Skype/src/skypekit/contact.cpp b/protocols/Skype/src/skypekit/contact.cpp
index 5cfecace38..3f0a95b717 100644
--- a/protocols/Skype/src/skypekit/contact.cpp
+++ b/protocols/Skype/src/skypekit/contact.cpp
@@ -39,9 +39,8 @@ bool CContact::GetFullname(SEString &firstName, SEString &lastName)
{
firstName = fullname.substr(0, pos);
lastName = fullname.right(pos);
- }
-
- firstName = fullname;
+ } else
+ firstName = fullname;
return true;
}