changeset 1586:c24e91e9a108

Replace minor Windows constants.
author yoctozepto
date Wed, 11 Sep 2013 13:53:05 +0200
parents e42073046f92
children 1efbaf1d01c3
files Render.cpp mm7_2.cpp
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Render.cpp	Tue Sep 10 21:08:43 2013 +0200
+++ b/Render.cpp	Wed Sep 11 13:53:05 2013 +0200
@@ -8470,7 +8470,7 @@
     {
       InvalidateRect(0, 0, 0);
       MoveWindow(hWnd, uWindowX, uWindowY, uWindowWidth, uWindowHeight, 0);
-      ShowWindow(hWnd, 1);
+      ShowWindow(hWnd, SW_SHOWNORMAL);
     }
     pMouse->bActive = 1;
     if ( pVideoPlayer->AnyMovieLoaded() )
--- a/mm7_2.cpp	Tue Sep 10 21:08:43 2013 +0200
+++ b/mm7_2.cpp	Wed Sep 11 13:53:05 2013 +0200
@@ -3817,7 +3817,7 @@
 //----- (00464761) --------------------------------------------------------
 void Game_DeinitializeAndTerminate(int exitCode)
 {
-  SetPriorityClass(GetCurrentProcess(), 0x20u);
+  SetPriorityClass(GetCurrentProcess(), NORMAL_PRIORITY_CLASS);
   ResetCursor_Palettes_LODs_Level_Audio_SFT_Windows();
   pGame->Deinitialize();
   pRenderer->Release2();