mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Bugfix: JA2 now shuts down without an error, if the desktop colors are not set to 16 bit color after the message box appears
Changed some text strings from "Jagged Alliance 2 v1.13" to "Jagged Alliance 2", so the game consistently used "Jagged Alliance 2". git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2396 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -271,7 +271,7 @@ BOOLEAN InitializeVideoManager(HINSTANCE hInstance, UINT16 usCommandShow, void *
|
||||
ptWindowSize.x = window.right;
|
||||
ptWindowSize.y = window.bottom;
|
||||
|
||||
hWindow = CreateWindowEx(exstyle, (LPCSTR) ClassName, "Jagged Alliance 2 v1.13", style, window.left, window.top, window.right, window.bottom, NULL, NULL, hInstance, NULL);
|
||||
hWindow = CreateWindowEx(exstyle, (LPCSTR) ClassName, "Jagged Alliance 2", style, window.left, window.top, window.right, window.bottom, NULL, NULL, hInstance, NULL);
|
||||
GetClientRect( hWindow, &window);
|
||||
window.top = window.top;
|
||||
}
|
||||
@@ -639,7 +639,8 @@ BOOLEAN InitializeVideoManager(HINSTANCE hInstance, UINT16 usCommandShow, void *
|
||||
// This function must be called to setup RGB information
|
||||
//
|
||||
|
||||
GetRGBDistribution();
|
||||
if (GetRGBDistribution() == FALSE)
|
||||
return FALSE;
|
||||
|
||||
|
||||
return TRUE;
|
||||
|
||||
Reference in New Issue
Block a user