Fix a couple of warnings and a typo.
This commit is contained in:
parent
6ca0ba2a73
commit
e6ebf42c2b
|
@ -890,6 +890,7 @@ static int ws_sockaddr_u2ws(const struct sockaddr* uaddr, int uaddrlen, struct W
|
|||
case 1:
|
||||
case 0:
|
||||
/* way too small */
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
|
@ -53,7 +53,7 @@ typedef struct CONSOLE_DRIVER
|
|||
void (*scrollUpWindow)(char, char, char, char, char, int, int);
|
||||
void (*scrollDownWindow)(char, char, char, char, char, int, int);
|
||||
|
||||
/* Accellerator Functions (Keyboard) */
|
||||
/* Accelerator Functions (Keyboard) */
|
||||
char (*getCharacter)(void);
|
||||
|
||||
/* Other functions */
|
||||
|
|
|
@ -119,7 +119,7 @@ static HWND DEFDLG_FindDefButton( HWND hwndDlg )
|
|||
static BOOL DEFDLG_SetDefButton( HWND hwndDlg, DIALOGINFO *dlgInfo,
|
||||
HWND hwndNew )
|
||||
{
|
||||
DWORD dlgcode;
|
||||
DWORD dlgcode=0; /* initialize just to avoid a warning */
|
||||
if (hwndNew &&
|
||||
!((dlgcode=SendMessageW(hwndNew, WM_GETDLGCODE, 0, 0 ))
|
||||
& (DLGC_UNDEFPUSHBUTTON | DLGC_BUTTON)))
|
||||
|
|
Loading…
Reference in New Issue