diff options
Diffstat (limited to 'protocols/Gadu-Gadu/src/gg_proto.cpp')
-rw-r--r-- | protocols/Gadu-Gadu/src/gg_proto.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Gadu-Gadu/src/gg_proto.cpp b/protocols/Gadu-Gadu/src/gg_proto.cpp index 17b2dfd80d..74bfcbd60a 100644 --- a/protocols/Gadu-Gadu/src/gg_proto.cpp +++ b/protocols/Gadu-Gadu/src/gg_proto.cpp @@ -70,9 +70,9 @@ GGPROTO::GGPROTO(const char *pszProtoName, const wchar_t *tszUserName) : mir_snwprintf(szPath, L"%s\\%s\\ImageCache", (wchar_t*)VARSW(L"%miranda_userdata%"), m_tszUserName);
hImagesFolder = FoldersRegisterCustomPathT(LPGEN("Images"), m_szModuleName, szPath, m_tszUserName);
- DWORD dwVersion;
- if ((dwVersion = getDword(GG_PLUGINVERSION, 0)) < pluginInfo.version)
- cleanuplastplugin(dwVersion);
+ DWORD pluginVersion = getDword(GG_PLUGINVERSION, 0);
+ if (pluginVersion < pluginInfo.version)
+ cleanuplastplugin(pluginVersion);
links_instance_init();
initavatarrequestthread();
|