mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-02-02 04:32:24 +00:00
whitespace cleanup (spaces -> tabs) after dabb's assault with Edit.
This commit is contained in:
parent
4961a21b51
commit
14a519c548
1 changed files with 35 additions and 45 deletions
|
@ -256,18 +256,14 @@ VID_SetWindowedMode (int modenum)
|
|||
height = rect.bottom - rect.top;
|
||||
|
||||
// Create the DIB window
|
||||
mainwindow = CreateWindowEx (ExWindowStyle,
|
||||
"QuakeForge",
|
||||
"GLQuakeWorld",
|
||||
WindowStyle,
|
||||
rect.left, rect.top,
|
||||
width,
|
||||
height, NULL, NULL, global_hInstance, NULL);
|
||||
mainwindow = CreateWindowEx (ExWindowStyle, "QuakeForge", "GLQuakeWorld",
|
||||
WindowStyle, rect.left, rect.top, width, height, NULL, NULL,
|
||||
global_hInstance, NULL);
|
||||
|
||||
if (!mainwindow)
|
||||
Sys_Error ("Couldn't create DIB window");
|
||||
|
||||
// Center and show the DIB window
|
||||
// Center and show the DIB window
|
||||
CenterWindow (mainwindow, WindowRect.right - WindowRect.left,
|
||||
WindowRect.bottom - WindowRect.top, false);
|
||||
|
||||
|
@ -348,13 +344,9 @@ VID_SetFullDIBMode (int modenum)
|
|||
height = rect.bottom - rect.top;
|
||||
|
||||
// Create the DIB window
|
||||
mainwindow = CreateWindowEx (ExWindowStyle,
|
||||
"QuakeForge",
|
||||
"GLQuakeWorld",
|
||||
WindowStyle,
|
||||
rect.left, rect.top,
|
||||
width,
|
||||
height, NULL, NULL, global_hInstance, NULL);
|
||||
mainwindow = CreateWindowEx (ExWindowStyle, "QuakeForge", "GLQuakeWorld",
|
||||
WindowStyle, rect.left, rect.top, width, height, NULL, NULL,
|
||||
global_hInstance, NULL);
|
||||
|
||||
if (!mainwindow)
|
||||
Sys_Error ("Couldn't create DIB window");
|
||||
|
@ -1040,11 +1032,9 @@ MainWndProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
break;
|
||||
|
||||
case WM_DESTROY:
|
||||
{
|
||||
if (mainwindow)
|
||||
DestroyWindow (mainwindow);
|
||||
PostQuitMessage (0);
|
||||
}
|
||||
break;
|
||||
|
||||
case MM_MCINOTIFY:
|
||||
|
|
Loading…
Reference in a new issue