summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src/avatar.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-06-17 23:15:57 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-06-17 23:15:57 +0000
commit65cf85ee6e83594f4de5d6d06012bde070b6c6b1 (patch)
tree50b3747038b77088ee0bef29f6594a74807397c3 /protocols/Gadu-Gadu/src/avatar.cpp
parent2d26921c87c663de4725963d7da87c6eacd1e3d3 (diff)
GaduGadu: Cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@14241 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Gadu-Gadu/src/avatar.cpp')
-rw-r--r--protocols/Gadu-Gadu/src/avatar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Gadu-Gadu/src/avatar.cpp b/protocols/Gadu-Gadu/src/avatar.cpp
index c1d4936588..4f04649a6a 100644
--- a/protocols/Gadu-Gadu/src/avatar.cpp
+++ b/protocols/Gadu-Gadu/src/avatar.cpp
@@ -324,7 +324,7 @@ void __cdecl GGPROTO::getOwnAvatarThread(void*)
char *AvatarURL, *AvatarTs;
if (getAvatarFileInfo(getDword(GG_KEY_UIN, 0), &AvatarURL, &AvatarTs)) {
- if (AvatarURL != NULL && AvatarTs != NULL > 0) {
+ if (AvatarURL != NULL && AvatarTs != NULL) {
setString(GG_KEY_AVATARURL, AvatarURL);
setString(GG_KEY_AVATARTS, AvatarTs);
mir_free(AvatarURL); mir_free(AvatarTs);