diff options
Diffstat (limited to 'src/modules/database/dbintf.cpp')
-rw-r--r-- | src/modules/database/dbintf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/database/dbintf.cpp b/src/modules/database/dbintf.cpp index c07ab7502f..46719debed 100644 --- a/src/modules/database/dbintf.cpp +++ b/src/modules/database/dbintf.cpp @@ -48,7 +48,7 @@ static INT_PTR srvGetContactCount(WPARAM, LPARAM) static INT_PTR srvDeleteContact(WPARAM wParam, LPARAM)
{
DBVARIANT dbv = {0};
- if (!db_get_ts((HCONTACT)wParam, "ContactPhoto", "File", &dbv)) {
+ if (!db_get_ts((MCONTACT)wParam, "ContactPhoto", "File", &dbv)) {
DeleteFile(dbv.ptszVal);
db_free(&dbv);
}
|