diff options
author | George Hazan <george.hazan@gmail.com> | 2014-06-28 15:59:15 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-06-28 15:59:15 +0000 |
commit | e32f708ef6cb3b5e0e79d136d7f15d86222118a5 (patch) | |
tree | aef57dd224c145efff9643d0d9ad544a826d1ae7 /plugins/PluginUpdater/src | |
parent | 3c5fc7455ff6b5f2ae7c9b331bccb1afdd7e525c (diff) |
more correct version of compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@9599 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src')
-rw-r--r-- | plugins/PluginUpdater/src/Compat/compat.h | 2 | ||||
-rw-r--r-- | plugins/PluginUpdater/src/Events.cpp | 5 | ||||
-rw-r--r-- | plugins/PluginUpdater/src/Utils.cpp | 6 |
3 files changed, 7 insertions, 6 deletions
diff --git a/plugins/PluginUpdater/src/Compat/compat.h b/plugins/PluginUpdater/src/Compat/compat.h index e46bdc2354..6afc901e17 100644 --- a/plugins/PluginUpdater/src/Compat/compat.h +++ b/plugins/PluginUpdater/src/Compat/compat.h @@ -1,5 +1,3 @@ -#define OUF_TCHAR 1
-
#define db_free(A) DBFreeVariant(A)
#define db_get_b(A,B,C,D) DBGetContactSettingByte(A,B,C,D)
diff --git a/plugins/PluginUpdater/src/Events.cpp b/plugins/PluginUpdater/src/Events.cpp index 3fa58c9439..e05aba0ff2 100644 --- a/plugins/PluginUpdater/src/Events.cpp +++ b/plugins/PluginUpdater/src/Events.cpp @@ -91,6 +91,9 @@ int OnPreShutdown(WPARAM, LPARAM) CloseHandle(Timer);
UninitCheck();
- UninitListNew();
+
+ #if MIRANDA_VER >= 0x0A00
+ UninitListNew();
+ #endif
return 0;
}
diff --git a/plugins/PluginUpdater/src/Utils.cpp b/plugins/PluginUpdater/src/Utils.cpp index e628d5540d..1c1f4c2ca5 100644 --- a/plugins/PluginUpdater/src/Utils.cpp +++ b/plugins/PluginUpdater/src/Utils.cpp @@ -748,8 +748,8 @@ int SafeCreateFilePath(TCHAR *pFolder) char *StrToLower(char *str)
{
- for (int i = 0; str[i]; i++) {
+ for (int i = 0; str[i]; i++)
str[i] = tolower(str[i]);
- }
+
return str;
-}
\ No newline at end of file +}
|