Fix a couple of warnings and a typo.

This commit is contained in:
Francois Gouget 2002-01-21 17:59:38 +00:00 committed by Alexandre Julliard
parent 6ca0ba2a73
commit e6ebf42c2b
3 changed files with 3 additions and 2 deletions

View File

@ -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;

View File

@ -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 */

View File

@ -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)))