From f7d5fcc117aaeccfdc98bce2a4280641ee7e52c9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 17 Nov 2016 22:24:00 +0300 Subject: PathToRelativeT - forgotten macro --- plugins/AssocMgr/src/assoclist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/AssocMgr') diff --git a/plugins/AssocMgr/src/assoclist.cpp b/plugins/AssocMgr/src/assoclist.cpp index c1c34f528e..b8273c7903 100644 --- a/plugins/AssocMgr/src/assoclist.cpp +++ b/plugins/AssocMgr/src/assoclist.cpp @@ -64,7 +64,7 @@ static void SetAssocEnabled(const ASSOCDATA *assoc, BOOL fEnabled) // dll name for uninstall if (assoc->hInstance != NULL && assoc->hInstance != hInst && assoc->hInstance != GetModuleHandle(NULL)) if (GetModuleFileName(assoc->hInstance, szBuf, _countof(szBuf))) - if (PathToRelativeT(szBuf, szDLL)) { + if (PathToRelativeW(szBuf, szDLL)) { mir_snprintf(szSetting, "module_%s", assoc->pszClassName); db_set_ws(NULL, "AssocMgr", szSetting, szDLL); } -- cgit v1.2.3