diff options
author | George Hazan <ghazan@miranda.im> | 2016-11-17 22:24:00 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-11-17 22:24:00 +0300 |
commit | f7d5fcc117aaeccfdc98bce2a4280641ee7e52c9 (patch) | |
tree | 18da75eb5431b7c913f6893a7dce98740436487b /plugins/AssocMgr | |
parent | 3079a6563ebc5887839ec29984206f2950638a4d (diff) |
PathToRelativeT - forgotten macro
Diffstat (limited to 'plugins/AssocMgr')
-rw-r--r-- | plugins/AssocMgr/src/assoclist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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);
}
|