diff options
author | George Hazan <george.hazan@gmail.com> | 2014-11-08 20:04:24 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-11-08 20:04:24 +0000 |
commit | 75b84796d6d14b9df136f4ea47d87aff3cfa5c90 (patch) | |
tree | e9e1d95081758aacc58bfb8173c974009a5e9c53 /plugins/AVS/src/options.cpp | |
parent | 0f869bffb767a7fb2e3ceb4b081ba1ec6953dbfd (diff) |
code cleaning:
- (MCONTACT)-1 replaced with INVALID_CONTACT_ID;
- DBVARIANT+db_get_ts replaced with ptrT+db_get_tsa;
- VARST added for path reading;
- version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@10932 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AVS/src/options.cpp')
-rw-r--r-- | plugins/AVS/src/options.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/AVS/src/options.cpp b/plugins/AVS/src/options.cpp index 9cade6f3d3..4cae5a111e 100644 --- a/plugins/AVS/src/options.cpp +++ b/plugins/AVS/src/options.cpp @@ -677,15 +677,15 @@ INT_PTR CALLBACK DlgProcAvatarOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPA szFinalName[0] = 0;
if (is_locked && !db_get_ts(hContact, "ContactPhoto", "Backup", &dbv)) {
- PathToAbsoluteT(dbv.ptszVal, szFinalName, g_szDataPath);
+ MyPathToAbsolute(dbv.ptszVal, szFinalName);
db_free(&dbv);
}
else if (!db_get_ts(hContact, "ContactPhoto", "RFile", &dbv)) {
- PathToAbsoluteT(dbv.ptszVal, szFinalName, g_szDataPath);
+ MyPathToAbsolute(dbv.ptszVal, szFinalName);
db_free(&dbv);
}
else if (!db_get_ts(hContact, "ContactPhoto", "File", &dbv)) {
- PathToAbsoluteT(dbv.ptszVal, szFinalName, g_szDataPath);
+ MyPathToAbsolute(dbv.ptszVal, szFinalName);
db_free(&dbv);
}
szFinalName[MAX_PATH - 1] = 0;
|