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/Dbx_mmap_SA/Dbtool/progress.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Dbx_mmap_SA/Dbtool/progress.cpp') diff --git a/plugins/Dbx_mmap_SA/Dbtool/progress.cpp b/plugins/Dbx_mmap_SA/Dbtool/progress.cpp index 4b7d7979b4..caca179482 100644 --- a/plugins/Dbx_mmap_SA/Dbtool/progress.cpp +++ b/plugins/Dbx_mmap_SA/Dbtool/progress.cpp @@ -42,7 +42,7 @@ int AddToStatus(DWORD flags, TCHAR* fmt,...) OutputDebugString(str); OutputDebugStringA("\n"); #endif - if((flags&STATUS_CLASSMASK)==STATUS_ERROR) errorCount++; + if ((flags&STATUS_CLASSMASK)==STATUS_ERROR) errorCount++; return ret; } @@ -118,7 +118,7 @@ INT_PTR CALLBACK ProgressDlgProc(HWND hdlg,UINT message,WPARAM wParam,LPARAM lPa TCHAR str[256]; int bold=0; HFONT hoFont; - if((int)dis->itemID==-1) break; + if ((int)dis->itemID==-1) break; SendMessage(dis->hwndItem,LB_GETTEXT,dis->itemID,(LPARAM)str); switch(dis->itemData&STATUS_CLASSMASK) { case STATUS_MESSAGE: @@ -175,7 +175,7 @@ INT_PTR CALLBACK ProgressDlgProc(HWND hdlg,UINT message,WPARAM wParam,LPARAM lPa switch(LOWORD(wParam)) { case IDC_BACK: ResetEvent(hEventRun); - if(!IsWindowEnabled(GetDlgItem(GetParent(hdlg),IDOK))) { + if (!IsWindowEnabled(GetDlgItem(GetParent(hdlg),IDOK))) { if(MessageBox(hdlg,TranslateT("Processing has not yet completed, if you go back now then the changes that have currently been made will be rolled back and the original database will be restored. Do you still want to go back?"),TranslateT("Miranda Database Tool"),MB_YESNO)==IDYES) { manualAbort=2; SetEvent(hEventAbort); -- cgit v1.2.3