diff options
Diffstat (limited to 'plugins/Sessions/Src/Options.cpp')
-rw-r--r-- | plugins/Sessions/Src/Options.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Sessions/Src/Options.cpp b/plugins/Sessions/Src/Options.cpp index e15609f625..25f60daaba 100644 --- a/plugins/Sessions/Src/Options.cpp +++ b/plugins/Sessions/Src/Options.cpp @@ -44,7 +44,7 @@ BOOL bChecked = FALSE; int OpLoadSessionContacts(WPARAM wparam, LPARAM lparam)
{
- ZeroMemory(session_list_t, sizeof(session_list_t));
+ memset(session_list_t, 0, sizeof(session_list_t));
for (MCONTACT hContact = db_find_first(); hContact; hContact = db_find_next(hContact)) {
if (LoadContactsFromMask(hContact, 1, lparam)) {
|