From 341203e3dfc3b7ac0f4db5ebef80de3fb2265ddb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 25 Sep 2013 19:38:21 +0000 Subject: fix for displaying avatars' paths in Options git-svn-id: http://svn.miranda-ng.org/main/trunk@6234 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AVS/src/options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/AVS/src/options.cpp') 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); -- cgit v1.2.3