diff options
author | George Hazan <george.hazan@gmail.com> | 2024-02-28 13:15:21 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-02-28 13:15:21 +0300 |
commit | 667ded1639b12b365a009441677d6962642bd914 (patch) | |
tree | ca1871f03ff325256e546c9788d3de1edc1d712f /plugins/AVS/src/userInfo.cpp | |
parent | fd9794e8d383f54ad624cd907e7d8a902e510951 (diff) |
code cleaning
Diffstat (limited to 'plugins/AVS/src/userInfo.cpp')
-rw-r--r-- | plugins/AVS/src/userInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/AVS/src/userInfo.cpp b/plugins/AVS/src/userInfo.cpp index 3b7a4bd129..a77064079c 100644 --- a/plugins/AVS/src/userInfo.cpp +++ b/plugins/AVS/src/userInfo.cpp @@ -203,7 +203,7 @@ public: if (MessageBox(nullptr, TranslateT("Delete picture file from disk (may be necessary to force a reload, but will delete local pictures)?"), TranslateT("Reset contact picture"), MB_YESNO) == IDYES) {
DBVARIANT dbv = { 0 };
if (!db_get_ws(m_hContact, "ContactPhoto", "File", &dbv)) {
- DeleteFile(dbv.pwszVal);
+ DeleteFileW(dbv.pwszVal);
db_free(&dbv);
}
}
@@ -226,7 +226,7 @@ public: if (MessageBoxW(nullptr, TranslateT("Delete picture file from disk (may be necessary to force a reload, but will delete local pictures)?"), TranslateT("Reset contact picture"), MB_YESNO) == IDYES) {
DBVARIANT dbv = { 0 };
if (!db_get_ws(m_hContact, "ContactPhoto", "File", &dbv)) {
- DeleteFile(dbv.pwszVal);
+ DeleteFileW(dbv.pwszVal);
db_free(&dbv);
}
}
|