Removed a crash in program/clock.

This commit is contained in:
Eric Pouech 2000-12-13 01:53:51 +00:00 committed by Alexandre Julliard
parent 4718b6d09d
commit 5c312198f6

View file

@ -91,11 +91,12 @@ int CLOCK_MenuCommand (WPARAM wParam)
VOID MAIN_FileChooseFont(VOID) {
CHOOSEFONT font;
LOGFONT lf;
font.lStructSize = sizeof(font);
font.hwndOwner = Globals.hMainWnd;
font.hDC = NULL;
font.lpLogFont = 0;
font.lpLogFont = &lf;
font.iPointSize = 0;
font.Flags = 0;
font.rgbColors = 0;
@ -110,7 +111,7 @@ VOID MAIN_FileChooseFont(VOID) {
if (ChooseFont(&font)) {
/* do nothing yet */
};
}
}