Commit e6ebf42c authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Fix a couple of warnings and a typo.

parent 6ca0ba2a
......@@ -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)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment