From a9197f5d5921263a042979b0d14fc2c61e411320 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Mon, 11 May 2015 15:20:06 +0000 Subject: minus CreateThread git-svn-id: http://svn.miranda-ng.org/main/trunk@13543 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/WhenWasIt/src/birthdays.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/WhenWasIt/src/birthdays.cpp') diff --git a/plugins/WhenWasIt/src/birthdays.cpp b/plugins/WhenWasIt/src/birthdays.cpp index ccea05193f..cf8e4c65ed 100644 --- a/plugins/WhenWasIt/src/birthdays.cpp +++ b/plugins/WhenWasIt/src/birthdays.cpp @@ -28,7 +28,7 @@ CBirthdays::CBirthdays(int initialSize) size = 0; birthdays = NULL; advancedIcon = CLIST_ICON; - + Realloc(initialSize); } @@ -79,14 +79,14 @@ void CBirthdays::EnsureCapacity() void CBirthdays::Realloc(int increaseCapacity) { size += increaseCapacity; - birthdays = (PBirthdayContact *) realloc(birthdays, size * sizeof(PBirthdayContact)); + birthdays = (PBirthdayContact *)realloc(birthdays, size * sizeof(PBirthdayContact)); } int CBirthdays::Add(MCONTACT hContact, HANDLE hClistIcon) { - if ( !Contains(hContact)) { + if (!Contains(hContact)) { EnsureCapacity(); - TBirthdayContact *item = (TBirthdayContact *) malloc(sizeof(TBirthdayContact)); + TBirthdayContact *item = (TBirthdayContact *)malloc(sizeof(TBirthdayContact)); item->hContact = hContact; item->hClistIcon = hClistIcon; birthdays[count++] = item; @@ -109,7 +109,7 @@ int CBirthdays::Remove(int index) int CBirthdays::Remove(MCONTACT hContact) { - return Remove( Index(hContact)); + return Remove(Index(hContact)); } int CBirthdays::Contains(MCONTACT hContact) const -- cgit v1.2.3