summaryrefslogtreecommitdiff
path: root/Dbx_mmap_SA/Dbtool/progress.cpp
diff options
context:
space:
mode:
authormataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-12-03 17:47:07 +0000
committermataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-12-03 17:47:07 +0000
commit534fea9b2d46ddbe51b3841f2ca6af2e468f5c00 (patch)
tree450c080d226f53cd1bfc8e100eacfdf84a45504e /Dbx_mmap_SA/Dbtool/progress.cpp
parent331bd873e62c59d7e188eb7054c5abd46eeba15a (diff)
Dbx_mmap_SA:
fixed options page showing Dbtool: fixed dbtool starting fixed version info git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@237 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'Dbx_mmap_SA/Dbtool/progress.cpp')
-rw-r--r--Dbx_mmap_SA/Dbtool/progress.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Dbx_mmap_SA/Dbtool/progress.cpp b/Dbx_mmap_SA/Dbtool/progress.cpp
index 08b3fd8..4b7d797 100644
--- a/Dbx_mmap_SA/Dbtool/progress.cpp
+++ b/Dbx_mmap_SA/Dbtool/progress.cpp
@@ -64,9 +64,9 @@ void ProcessingDone(void)
SendMessage(hdlgProgress,WM_PROCESSINGDONE,0,0);
}
-BOOL CALLBACK ProgressDlgProc(HWND hdlg,UINT message,WPARAM wParam,LPARAM lParam)
+INT_PTR CALLBACK ProgressDlgProc(HWND hdlg,UINT message,WPARAM wParam,LPARAM lParam)
{
- BOOL bReturn;
+ INT_PTR bReturn;
static int fontHeight,listWidth;
static int manualAbort;
static HFONT hBoldFont = NULL;
@@ -140,7 +140,7 @@ BOOL CALLBACK ProgressDlgProc(HWND hdlg,UINT message,WPARAM wParam,LPARAM lParam
break;
}
if(bold) hoFont=(HFONT)SelectObject(dis->hDC,hBoldFont);
- ExtTextOut(dis->hDC,dis->rcItem.left,dis->rcItem.top,ETO_CLIPPED|ETO_OPAQUE,&dis->rcItem,str, (int)_tcslen(str),NULL);
+ ExtTextOut(dis->hDC,dis->rcItem.left,dis->rcItem.top,ETO_CLIPPED|ETO_OPAQUE,&dis->rcItem,str,(UINT)_tcslen(str),NULL);
if(bold) SelectObject(dis->hDC,hoFont);
return TRUE;
}