mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-02-08 15:22:07 +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;
|
height = rect.bottom - rect.top;
|
||||||
|
|
||||||
// Create the DIB window
|
// Create the DIB window
|
||||||
mainwindow = CreateWindowEx (ExWindowStyle,
|
mainwindow = CreateWindowEx (ExWindowStyle, "QuakeForge", "GLQuakeWorld",
|
||||||
"QuakeForge",
|
WindowStyle, rect.left, rect.top, width, height, NULL, NULL,
|
||||||
"GLQuakeWorld",
|
global_hInstance, NULL);
|
||||||
WindowStyle,
|
|
||||||
rect.left, rect.top,
|
|
||||||
width,
|
|
||||||
height, NULL, NULL, global_hInstance, NULL);
|
|
||||||
|
|
||||||
if (!mainwindow)
|
if (!mainwindow)
|
||||||
Sys_Error ("Couldn't create DIB window");
|
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,
|
CenterWindow (mainwindow, WindowRect.right - WindowRect.left,
|
||||||
WindowRect.bottom - WindowRect.top, false);
|
WindowRect.bottom - WindowRect.top, false);
|
||||||
|
|
||||||
|
@ -348,13 +344,9 @@ VID_SetFullDIBMode (int modenum)
|
||||||
height = rect.bottom - rect.top;
|
height = rect.bottom - rect.top;
|
||||||
|
|
||||||
// Create the DIB window
|
// Create the DIB window
|
||||||
mainwindow = CreateWindowEx (ExWindowStyle,
|
mainwindow = CreateWindowEx (ExWindowStyle, "QuakeForge", "GLQuakeWorld",
|
||||||
"QuakeForge",
|
WindowStyle, rect.left, rect.top, width, height, NULL, NULL,
|
||||||
"GLQuakeWorld",
|
global_hInstance, NULL);
|
||||||
WindowStyle,
|
|
||||||
rect.left, rect.top,
|
|
||||||
width,
|
|
||||||
height, NULL, NULL, global_hInstance, NULL);
|
|
||||||
|
|
||||||
if (!mainwindow)
|
if (!mainwindow)
|
||||||
Sys_Error ("Couldn't create DIB window");
|
Sys_Error ("Couldn't create DIB window");
|
||||||
|
@ -1040,11 +1032,9 @@ MainWndProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WM_DESTROY:
|
case WM_DESTROY:
|
||||||
{
|
|
||||||
if (mainwindow)
|
if (mainwindow)
|
||||||
DestroyWindow (mainwindow);
|
DestroyWindow (mainwindow);
|
||||||
PostQuitMessage (0);
|
PostQuitMessage (0);
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case MM_MCINOTIFY:
|
case MM_MCINOTIFY:
|
||||||
|
|
Loading…
Reference in a new issue