diff options
author | George Hazan <george.hazan@gmail.com> | 2015-08-27 21:42:44 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-08-27 21:42:44 +0000 |
commit | 17501083ca15adc9e3f53757b47a961ed2e77e9c (patch) | |
tree | e6a88938fd555265d20bf4281765c84fb874bc18 /plugins/PluginUpdater/src/PluginUpdater.cpp | |
parent | 18fb3c2f6c84e3242df27a8686da95658584f7a8 (diff) |
warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@15051 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/PluginUpdater.cpp')
-rw-r--r-- | plugins/PluginUpdater/src/PluginUpdater.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/PluginUpdater/src/PluginUpdater.cpp b/plugins/PluginUpdater/src/PluginUpdater.cpp index a360721322..b32b7be729 100644 --- a/plugins/PluginUpdater/src/PluginUpdater.cpp +++ b/plugins/PluginUpdater/src/PluginUpdater.cpp @@ -20,7 +20,7 @@ Boston, MA 02111-1307, USA. #include "stdafx.h"
HINSTANCE hInst = NULL;
-TCHAR tszRoot[MAX_PATH] = {0}, tszTempPath[MAX_PATH];
+TCHAR g_tszRoot[MAX_PATH] = {0}, g_tszTempPath[MAX_PATH];
int hLangpack;
DWORD g_mirandaVersion;
@@ -73,9 +73,9 @@ extern "C" __declspec(dllexport) int Load(void) db_set_b(NULL, MODNAME, DB_SETTING_NEED_RESTART, 0);
- DWORD dwLen = GetTempPath( _countof(tszTempPath), tszTempPath);
- if (tszTempPath[dwLen-1] == '\\')
- tszTempPath[dwLen-1] = 0;
+ DWORD dwLen = GetTempPath(_countof(g_tszTempPath), g_tszTempPath);
+ if (g_tszTempPath[dwLen-1] == '\\')
+ g_tszTempPath[dwLen-1] = 0;
LoadOptions();
InitPopupList();
|