summaryrefslogtreecommitdiff
path: root/plugins/PluginUpdater/src/Utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-09-30 14:50:03 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-09-30 14:50:03 +0000
commit46bd23bb19193e78e544d07a721e96548a7ab60a (patch)
tree15f5848c0766f231bc85b07c57e8821b34fe66ff /plugins/PluginUpdater/src/Utils.cpp
parent82ea016e57d36a1e75e57529f8f5dfdd2ac39b63 (diff)
fix for DLLs with the trailing W in names
git-svn-id: http://svn.miranda-ng.org/main/trunk@1729 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/Utils.cpp')
-rw-r--r--plugins/PluginUpdater/src/Utils.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/PluginUpdater/src/Utils.cpp b/plugins/PluginUpdater/src/Utils.cpp
index 91716a45c6..ad1a5fe774 100644
--- a/plugins/PluginUpdater/src/Utils.cpp
+++ b/plugins/PluginUpdater/src/Utils.cpp
@@ -226,6 +226,15 @@ void InitTimer()
}
}
+void strdel(TCHAR *parBuffer, int len )
+{
+ TCHAR* p;
+ for (p = parBuffer+len; *p != 0; p++)
+ p[ -len ] = *p;
+
+ p[ -len ] = '\0';
+}
+
#if MIRANDA_VER < 0x0A00
char* rtrim(char *str)
{