fixing 20 VS waring msg

svn path=/trunk/; revision=20325
This commit is contained in:
Magnus Olsen 2005-12-25 02:05:50 +00:00
parent b0ed55d762
commit 4e2b520755
2 changed files with 14 additions and 14 deletions

View file

@ -72,11 +72,11 @@ BOOL CALLBACK AboutDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam )
SetBkMode(hdc, TRANSPARENT);
TextOut(hdc, 10, 10, c1, _tcslen(c1));
TextOut(hdc, 10, 35, c2, _tcslen(c2));
TextOut(hdc, 10, 50, c3, _tcslen(c3));
TextOut(hdc, 10, 75, c4, _tcslen(c4));
TextOut(hdc, 10, 90, c5, _tcslen(c5));
TextOut(hdc, 10, 10, c1, (INT) _tcslen(c1));
TextOut(hdc, 10, 35, c2, (INT) _tcslen(c2));
TextOut(hdc, 10, 50, c3, (INT) _tcslen(c3));
TextOut(hdc, 10, 75, c4, (INT) _tcslen(c4));
TextOut(hdc, 10, 90, c5, (INT) _tcslen(c5));
SelectObject(hdc, hFontOrg);

View file

@ -72,23 +72,23 @@ BOOL CALLBACK StatsDlgProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam )
case ID_STATS_LOAD:
{
int i;
INT i;
i = SendMessage(hWndListBox, LB_GETCURSEL, 0, 0);
SendMessage(hWndListBox, LB_GETTEXT, i, (LPARAM)calc.buffer);
i = (INT) SendMessage(hWndListBox, LB_GETCURSEL, 0, 0);
SendMessage(hWndListBox, LB_GETTEXT, i, (LPARAM)calc.buffer);
calc_buffer_display(&calc);
}
}
return 0;
case ID_STATS_CD:
{
int i;
INT i;
i = SendMessage(hWndListBox, LB_GETCURSEL, 0, 0);
SendMessage(hWndListBox, LB_DELETESTRING, i, 0);
InvalidateRect(hDlg,NULL,TRUE);
i = (INT) SendMessage(hWndListBox, LB_GETCURSEL, 0, 0);
SendMessage(hWndListBox, LB_DELETESTRING, i, 0);
InvalidateRect(hDlg,NULL,TRUE);
UpdateWindow(hDlg);
}
}
return 0;
case ID_STATS_CAD: