summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd/src/download.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SmileyAdd/src/download.cpp')
-rw-r--r--plugins/SmileyAdd/src/download.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SmileyAdd/src/download.cpp b/plugins/SmileyAdd/src/download.cpp
index e66b5ec069..1f62182890 100644
--- a/plugins/SmileyAdd/src/download.cpp
+++ b/plugins/SmileyAdd/src/download.cpp
@@ -132,7 +132,7 @@ void __cdecl SmileyDownloadThread(void*)
CMStringW fname(dlQueue[0].fname);
if (dlQueue[0].needext) {
- fname += GetImageExt(fname);
+ fname += ProtoGetAvatarExtension(ProtoGetAvatarFileFormat(fname));
needext = true;
}
_wrename(dlQueue[0].fname.c_str(), fname.c_str());