- missing semicolon added
- fixed a warning
This commit is contained in:
parent
9c8b9eae6a
commit
8d8880fd71
@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////
|
||||||
// $Id: win32dialog.cc,v 1.53 2006-12-17 08:17:28 vruppert Exp $
|
// $Id: win32dialog.cc,v 1.54 2006-12-17 18:14:59 vruppert Exp $
|
||||||
/////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
@ -217,7 +217,7 @@ static BOOL CALLBACK FloppyDlgProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lP
|
|||||||
while (floppy_type_names[i] != NULL) {
|
while (floppy_type_names[i] != NULL) {
|
||||||
SendMessage(GetDlgItem(hDlg, IDMEDIATYPE), CB_ADDSTRING, 0, (LPARAM)floppy_type_names[i]);
|
SendMessage(GetDlgItem(hDlg, IDMEDIATYPE), CB_ADDSTRING, 0, (LPARAM)floppy_type_names[i]);
|
||||||
SendMessage(GetDlgItem(hDlg, IDMEDIATYPE), CB_SETITEMDATA, i, (LPARAM)(mediatype->get_min() + i));
|
SendMessage(GetDlgItem(hDlg, IDMEDIATYPE), CB_SETITEMDATA, i, (LPARAM)(mediatype->get_min() + i));
|
||||||
i++
|
i++;
|
||||||
}
|
}
|
||||||
cap = mediatype->get() - (int)mediatype->get_min();
|
cap = mediatype->get() - (int)mediatype->get_min();
|
||||||
SendMessage(GetDlgItem(hDlg, IDMEDIATYPE), CB_SETCURSEL, cap, 0);
|
SendMessage(GetDlgItem(hDlg, IDMEDIATYPE), CB_SETCURSEL, cap, 0);
|
||||||
@ -971,11 +971,12 @@ void RefreshDebugDialog()
|
|||||||
|
|
||||||
BxEvent* win32_notify_callback(void *unused, BxEvent *event)
|
BxEvent* win32_notify_callback(void *unused, BxEvent *event)
|
||||||
{
|
{
|
||||||
int opts, i, j;
|
int opts;
|
||||||
bx_param_c *param;
|
bx_param_c *param;
|
||||||
bx_param_string_c *sparam;
|
bx_param_string_c *sparam;
|
||||||
#if BX_DEBUGGER
|
#if BX_DEBUGGER
|
||||||
char debug_msg[1024];
|
char debug_msg[1024];
|
||||||
|
int i, j;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
event->retcode = -1;
|
event->retcode = -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user