summaryrefslogtreecommitdiff
path: root/plugins/AVS/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-09-25 19:38:21 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-09-25 19:38:21 +0000
commit341203e3dfc3b7ac0f4db5ebef80de3fb2265ddb (patch)
tree1e315af218f8555f77b5179127666c6c8fbcc747 /plugins/AVS/src
parent2cf824fd2efaec5fa0125fdde5fd513dd906d844 (diff)
fix for displaying avatars' paths in Options
git-svn-id: http://svn.miranda-ng.org/main/trunk@6234 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AVS/src')
-rw-r--r--plugins/AVS/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AVS/src/options.cpp b/plugins/AVS/src/options.cpp
index 1eb81be6a7..61eba41b6a 100644
--- a/plugins/AVS/src/options.cpp
+++ b/plugins/AVS/src/options.cpp
@@ -393,7 +393,7 @@ static INT_PTR CALLBACK DlgProcOptionsProtos(HWND hwndDlg, UINT msg, WPARAM wPar
if ( g_selectedProto ) {
DBVARIANT dbv;
if ( !db_get_ts(NULL, PPICT_MODULE, g_selectedProto, &dbv)) {
- if ( !AVS_pathIsAbsolute(dbv.ptszVal)) {
+ if ( !AVS_pathIsAbsolute( VARST(dbv.ptszVal))) {
TCHAR szFinalPath[MAX_PATH];
mir_sntprintf(szFinalPath, SIZEOF(szFinalPath), _T("%%miranda_path%%\\%s"), dbv.ptszVal);
SetDlgItemText(hwndDlg, IDC_PROTOAVATARNAME, szFinalPath);