summaryrefslogtreecommitdiff
path: root/plugins/VersionInfo/src/dlgHandlers.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-07-21 18:16:36 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-07-21 18:16:36 +0000
commit69f098ce2dff7dc87607fcccafc550a965ca6e6a (patch)
treeeda44f16ccc48cfa58d8454340977de6a86682fa /plugins/VersionInfo/src/dlgHandlers.cpp
parente398ab10b327757fdc1ea37da21cb401f4d5d5e5 (diff)
remove not used functions
git-svn-id: http://svn.miranda-ng.org/main/trunk@5443 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/VersionInfo/src/dlgHandlers.cpp')
-rw-r--r--plugins/VersionInfo/src/dlgHandlers.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/VersionInfo/src/dlgHandlers.cpp b/plugins/VersionInfo/src/dlgHandlers.cpp
index e6242c6bf6..d7e9024894 100644
--- a/plugins/VersionInfo/src/dlgHandlers.cpp
+++ b/plugins/VersionInfo/src/dlgHandlers.cpp
@@ -259,9 +259,9 @@ INT_PTR CALLBACK DlgProcOpts(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
TCHAR notFound[1024];
if (db_get_ts(NULL, ModuleName, "OutputFile", &dbv) == 0)
- RelativePathToAbsolute(dbv.ptszVal, notFound, SIZEOF(notFound));
+ PathToAbsoluteT(dbv.ptszVal, notFound);
else
- RelativePathToAbsolute( _T("VersionInfo.txt"), notFound, SIZEOF(notFound));
+ PathToAbsoluteT(_T("VersionInfo.txt"), notFound);
if (hOutputLocation)
_tcscpy(buffer, TranslateT("Customize using folders plugin"));
@@ -463,7 +463,7 @@ INT_PTR CALLBACK DlgProcOpts(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
if (!hOutputLocation) {
TCHAR filePath[MAX_PATH], fileName[MAX_PATH];
GetDlgItemText(hWnd, IDC_FILENAME, fileName, MAX_PATH);
- AbsolutePathToRelative(fileName, filePath, SIZEOF(filePath));
+ PathToRelativeT(fileName, filePath);
db_set_ts(NULL, ModuleName, "OutputFile", filePath); //store relative path
}