From fcad6320fadd4bafb0555ccb5c6b53ee4b3dca40 Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Tue, 24 Aug 2010 20:27:32 +0000 Subject: [PATCH] Small fix for OpenDialog git-svn-id: svn://kolibrios.org@1590 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/libraries/box_lib/asm/trunk/OpenDial.asm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/programs/develop/libraries/box_lib/asm/trunk/OpenDial.asm b/programs/develop/libraries/box_lib/asm/trunk/OpenDial.asm index 4ce98b7ccf..58905e6c35 100644 --- a/programs/develop/libraries/box_lib/asm/trunk/OpenDial.asm +++ b/programs/develop/libraries/box_lib/asm/trunk/OpenDial.asm @@ -46,8 +46,8 @@ include '../../trunk/box_lib.mac' ;include 'box_lib.mac' @use_library -x_minimal_size equ 300 -y_minimal_size equ 200 +x_minimal_size equ 350 +y_minimal_size equ 250 ;--------------------------------------------------------------------- ;--------------------------------------------------------------------- START: @@ -105,7 +105,7 @@ control_minimal_window_size: jnz .end ;red_1 mov esi,-1 mov eax,procinfo - mov eax,[eax+66] + mov eax,[eax+46] cmp eax,dword y_minimal_size ;200 jae @f mov esi,dword y_minimal_size ;200 @@ -113,7 +113,7 @@ control_minimal_window_size: @@: mov edx,-1 mov eax,procinfo - mov eax,[eax+62] + mov eax,[eax+42] cmp eax,dword x_minimal_size ;300 jae @f mov edx,dword x_minimal_size ;300