diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-05 10:27:24 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-05 10:27:24 +0000 |
commit | 724f02caa7b7fc34fb77be77a6df56610573a0c8 (patch) | |
tree | 7f5bd35d75eaf7a02a67087c9298568b3dac8c35 /plugins/PluginUpdater/src/Utils.cpp | |
parent | d6a9a8557466447f8082c1dc4f151eb81ecc6ac0 (diff) |
hopefully last compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@3892 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/Utils.cpp')
-rw-r--r-- | plugins/PluginUpdater/src/Utils.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/PluginUpdater/src/Utils.cpp b/plugins/PluginUpdater/src/Utils.cpp index 38d46a6c75..89d817a06f 100644 --- a/plugins/PluginUpdater/src/Utils.cpp +++ b/plugins/PluginUpdater/src/Utils.cpp @@ -344,6 +344,17 @@ char* rtrim(char *str) }
return str;
}
+
+void CreatePathToFileT(TCHAR* tszFilePath)
+{
+ TCHAR* pszLastBackslash = _tcsrchr(tszFilePath, '\\');
+ if (pszLastBackslash == NULL)
+ return;
+
+ *pszLastBackslash = '\0';
+ CreateDirectoryTreeT(tszFilePath);
+ *pszLastBackslash = '\\';
+}
#endif
// FUNCTION: IsRunAsAdmin()
|