fixup! Clean up unused return type
This commit is contained in:
parent
c54cc2013c
commit
e40653c1e0
2 changed files with 1 additions and 11 deletions
|
|
@ -174,20 +174,13 @@ void init_get_file_info()
|
|||
void MainWndProc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
switch (Msg) {
|
||||
case DVL_WM_ERASEBKGND:
|
||||
return 0;
|
||||
case DVL_WM_PAINT:
|
||||
force_redraw = 255;
|
||||
break;
|
||||
case DVL_WM_CLOSE:
|
||||
return 0;
|
||||
case DVL_WM_QUERYNEWPALETTE:
|
||||
return 1;
|
||||
case DVL_WM_QUERYENDSESSION:
|
||||
diablo_quit(0);
|
||||
break;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
WNDPROC SetWindowProc(WNDPROC NewProc)
|
||||
|
|
|
|||
|
|
@ -90,10 +90,7 @@ bool PostMessage(UINT Msg, WPARAM wParam, LPARAM lParam);
|
|||
#define DVL_WM_CAPTURECHANGED 0x0215
|
||||
|
||||
#define DVL_WM_PAINT 0x000F
|
||||
#define DVL_WM_CLOSE 0x0010
|
||||
#define DVL_WM_QUERYENDSESSION 0x0011
|
||||
#define DVL_WM_ERASEBKGND 0x0014
|
||||
#define DVL_WM_QUERYNEWPALETTE 0x030F
|
||||
|
||||
#define DVL_SC_CLOSE 0xF060
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue