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 1:
|
||||||
case 0:
|
case 0:
|
||||||
/* way too small */
|
/* way too small */
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -53,7 +53,7 @@ typedef struct CONSOLE_DRIVER
|
|||||||
void (*scrollUpWindow)(char, char, char, char, char, int, int);
|
void (*scrollUpWindow)(char, char, char, char, char, int, int);
|
||||||
void (*scrollDownWindow)(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);
|
char (*getCharacter)(void);
|
||||||
|
|
||||||
/* Other functions */
|
/* Other functions */
|
||||||
|
@ -119,7 +119,7 @@ static HWND DEFDLG_FindDefButton( HWND hwndDlg )
|
|||||||
static BOOL DEFDLG_SetDefButton( HWND hwndDlg, DIALOGINFO *dlgInfo,
|
static BOOL DEFDLG_SetDefButton( HWND hwndDlg, DIALOGINFO *dlgInfo,
|
||||||
HWND hwndNew )
|
HWND hwndNew )
|
||||||
{
|
{
|
||||||
DWORD dlgcode;
|
DWORD dlgcode=0; /* initialize just to avoid a warning */
|
||||||
if (hwndNew &&
|
if (hwndNew &&
|
||||||
!((dlgcode=SendMessageW(hwndNew, WM_GETDLGCODE, 0, 0 ))
|
!((dlgcode=SendMessageW(hwndNew, WM_GETDLGCODE, 0, 0 ))
|
||||||
& (DLGC_UNDEFPUSHBUTTON | DLGC_BUTTON)))
|
& (DLGC_UNDEFPUSHBUTTON | DLGC_BUTTON)))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user