From 21bfe50e8060a5cbede8eb8a79293618c276c05b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 4 Jul 2014 15:45:37 +0000 Subject: missing argument git-svn-id: http://svn.miranda-ng.org/main/trunk@9677 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/container.cpp | 4 ++-- plugins/TabSRMM/src/containeroptions.cpp | 2 +- plugins/TabSRMM/src/utils.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/TabSRMM/src') diff --git a/plugins/TabSRMM/src/container.cpp b/plugins/TabSRMM/src/container.cpp index 6f14c61c6f..d76bb0021c 100644 --- a/plugins/TabSRMM/src/container.cpp +++ b/plugins/TabSRMM/src/container.cpp @@ -1474,7 +1474,7 @@ panel_found: Utils::SettingsToContainer(pContainer); if (szThemeName != NULL) { - PathToAbsoluteT(szThemeName, pContainer->szAbsThemeFile); + PathToAbsoluteT(szThemeName, pContainer->szAbsThemeFile, M.getDataPath()); mir_sntprintf(pContainer->szRelThemeFile, MAX_PATH, _T("%s"), szThemeName); db_free(&dbv); } @@ -1886,7 +1886,7 @@ panel_found: mir_snprintf(szCName, 40, "%s_theme", CONTAINER_PREFIX); if (lstrlen(pContainer->szRelThemeFile) > 1) { if (pContainer->fPrivateThemeChanged == TRUE) { - PathToRelativeT(pContainer->szRelThemeFile, pContainer->szAbsThemeFile); + PathToRelativeT(pContainer->szRelThemeFile, pContainer->szAbsThemeFile, M.getDataPath()); db_set_ts(hContact, SRMSGMOD_T, szCName, pContainer->szRelThemeFile); pContainer->fPrivateThemeChanged = FALSE; } diff --git a/plugins/TabSRMM/src/containeroptions.cpp b/plugins/TabSRMM/src/containeroptions.cpp index bf069aeab6..10a96c9673 100644 --- a/plugins/TabSRMM/src/containeroptions.cpp +++ b/plugins/TabSRMM/src/containeroptions.cpp @@ -347,7 +347,7 @@ INT_PTR CALLBACK DlgProcContainerOptions(HWND hwndDlg, UINT msg, WPARAM wParam, GetDlgItemText(hwndDlg, IDC_THEME, szFilename, MAX_PATH); szFilename[MAX_PATH - 1] = 0; - PathToAbsoluteT(szFilename, szFinalThemeFile); + PathToAbsoluteT(szFilename, szFinalThemeFile, M.getDataPath()); if (_tcscmp(szFilename, pContainer->szRelThemeFile)) pContainer->fPrivateThemeChanged = TRUE; diff --git a/plugins/TabSRMM/src/utils.cpp b/plugins/TabSRMM/src/utils.cpp index 8deacf4537..2103def2b8 100644 --- a/plugins/TabSRMM/src/utils.cpp +++ b/plugins/TabSRMM/src/utils.cpp @@ -720,7 +720,7 @@ void Utils::SaveContainerSettings(TContainerData *pContainer, const char *szSett mir_snprintf(szCName, 40, "%s%d_theme", szSetting, pContainer->iContainerIndex); if (lstrlen(pContainer->szRelThemeFile) > 1) { if (pContainer->fPrivateThemeChanged == TRUE) { - PathToRelativeT(pContainer->szRelThemeFile, pContainer->szAbsThemeFile); + PathToRelativeT(pContainer->szRelThemeFile, pContainer->szAbsThemeFile, M.getDataPath()); db_set_ts(NULL, SRMSGMOD_T, szCName, pContainer->szAbsThemeFile); pContainer->fPrivateThemeChanged = FALSE; } -- cgit v1.2.3