From 78c0815c4118fe24ab78cce2dc48a6232dcd824a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 2 Jun 2012 20:55:18 +0000 Subject: - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Import/mirandahistory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Import/mirandahistory.c') diff --git a/plugins/Import/mirandahistory.c b/plugins/Import/mirandahistory.c index 232d295f8d..ba7a923df7 100644 --- a/plugins/Import/mirandahistory.c +++ b/plugins/Import/mirandahistory.c @@ -92,7 +92,7 @@ static PBYTE ReadHistoryLines(FILE *fp,int *cbBlob) blob=(char*)realloc(blob,*cbBlob+1); lstrcpy(blob+ofs,str); } - if(*cbBlob) { + if (*cbBlob) { (*cbBlob)--; blob[*cbBlob-1]=0; } @@ -150,7 +150,7 @@ static void OldMirandaHistoryImport(HWND hdlgProgress) tmEventTime.tm_mon=atoi(timeofs+10)-1; tmEventTime.tm_year=atoi(timeofs+13)-1900; dbei.timestamp=mktime(&tmEventTime)+_timezone; - if(!(importOptions&historyTypeToOption[type])) continue; + if (!(importOptions&historyTypeToOption[type])) continue; hContact=HistoryImportFindContact(hdlgProgress,uin,importOptions&IOPT_ADDUNKNOWN); if(hContact==INVALID_HANDLE_VALUE) break; dbei.flags=issent(type)?DBEF_SENT:DBEF_READ; -- cgit v1.2.3