diff options
author | George Hazan <george.hazan@gmail.com> | 2013-09-25 19:38:21 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-09-25 19:38:21 +0000 |
commit | 341203e3dfc3b7ac0f4db5ebef80de3fb2265ddb (patch) | |
tree | 1e315af218f8555f77b5179127666c6c8fbcc747 /plugins/AVS/src/options.cpp | |
parent | 2cf824fd2efaec5fa0125fdde5fd513dd906d844 (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/options.cpp')
-rw-r--r-- | plugins/AVS/src/options.cpp | 2 |
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);
|