remove false bracket in EXT_ASC

This commit is contained in:
Holger Vogt 2020-03-04 14:47:31 +01:00
parent 027b342a9c
commit 09d3fbe3ad
1 changed files with 3 additions and 2 deletions

View File

@ -161,7 +161,7 @@ int WIN_Init(void)
TheWndClass.cbClsExtra = 0;
TheWndClass.cbWndExtra = sizeof(GRAPH *);
if (!RegisterClass(&TheWndClass)) {
if (!RegisterClass(&TheWndClass))
return 1;
#else
@ -179,7 +179,8 @@ int WIN_Init(void)
TheWndClassW.hIcon = LoadIconW(hInst, MAKEINTRESOURCEW(2));
TheWndClassW.cbClsExtra = 0;
TheWndClassW.cbWndExtra = sizeof(GRAPH *);
if (!RegisterClassW(&TheWndClassW)) return 1;
if (!RegisterClassW(&TheWndClassW))
return 1;
#endif
IsRegistered = 1;
}