From 46bd23bb19193e78e544d07a721e96548a7ab60a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 30 Sep 2012 14:50:03 +0000 Subject: 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 --- plugins/PluginUpdater/src/Utils.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'plugins/PluginUpdater/src/Utils.cpp') 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) { -- cgit v1.2.3