summaryrefslogtreecommitdiff
path: root/plugins/Variables/src/contact.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Variables/src/contact.cpp')
-rw-r--r--plugins/Variables/src/contact.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Variables/src/contact.cpp b/plugins/Variables/src/contact.cpp
index c2ab526b37..a0188f964c 100644
--- a/plugins/Variables/src/contact.cpp
+++ b/plugins/Variables/src/contact.cpp
@@ -76,7 +76,7 @@ static builtinCnfs[] =
/* contact cache entry */
struct CONTACTCE
{
- int flags;
+ DWORD flags;
wchar_t* tszContact;
MCONTACT hContact;
};
@@ -333,7 +333,7 @@ static int contactSettingChanged(WPARAM hContact, LPARAM lParam)
{
/* remove from cache */
mir_free(it->tszContact);
- arContactCache.remove(it);
+ arContactCache.remove(arContactCache.indexOf(&it));
break;
}
}