mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
Removed some unnecessary anonymous structures
Fixed print-screen for full-screen mode git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1530 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -162,6 +162,9 @@ INT32 FAR PASCAL WindowProcedure(HWND hWindow, UINT16 Message, WPARAM wParam, LP
|
||||
// if( 1==iScreenMode )
|
||||
{
|
||||
GetClientRect(hWindow, &rcWindow);
|
||||
// Go ahead and clamp the client width and height
|
||||
rcWindow.right = SCREEN_WIDTH;
|
||||
rcWindow.bottom = SCREEN_HEIGHT;
|
||||
ClientToScreen(hWindow, (LPPOINT)&rcWindow);
|
||||
ClientToScreen(hWindow, (LPPOINT)&rcWindow+1);
|
||||
int xPos = (int)(short) LOWORD(lParam);
|
||||
|
||||
Reference in New Issue
Block a user