diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-12-23 01:46:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-12-23 01:46:27 +0300 |
commit | 7cff9f7777dcfdaae8cc7b982740131d80ba75c1 (patch) | |
tree | fd8ca1c73df99abb881f4b8fed595a367d6652be /src/gui/socialwindow.cpp | |
parent | a901facc32f489dbce6f9193f618d9d46a91f32c (diff) | |
download | ManaVerse-7cff9f7777dcfdaae8cc7b982740131d80ba75c1.tar.gz ManaVerse-7cff9f7777dcfdaae8cc7b982740131d80ba75c1.tar.bz2 ManaVerse-7cff9f7777dcfdaae8cc7b982740131d80ba75c1.tar.xz ManaVerse-7cff9f7777dcfdaae8cc7b982740131d80ba75c1.zip |
Fix code style and some auto checked errors.
Diffstat (limited to 'src/gui/socialwindow.cpp')
-rw-r--r-- | src/gui/socialwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp index 2bc8aba9b..72dd2104d 100644 --- a/src/gui/socialwindow.cpp +++ b/src/gui/socialwindow.cpp @@ -848,11 +848,11 @@ public: std::vector<Avatar*> *avatars = mBeings->getMembers(); - std::vector<Avatar*>::iterator i = avatars->begin(); - if (!avatars) return; + std::vector<Avatar*>::iterator i = avatars->begin(); + while (i != avatars->end()) { Avatar *ava = (*i); |