From 3335f1e520ee97de60783f62978952148811e026 Mon Sep 17 00:00:00 2001
From: "Marat Zakiyanov (Mario79)" <mario79@bk.ru>
Date: Tue, 24 Aug 2010 09:08:40 +0000
Subject: [PATCH] 1) KIV - correction for OpenDialog 2) Rtfread - correction
 for OpenDialog, build with pack 3) Heed - build with pack

git-svn-id: svn://kolibrios.org@1582 a494cfbc-eb01-0410-851d-a64ba20cac60
---
 programs/develop/heed/trunk/build_en.bat  | 1 +
 programs/develop/heed/trunk/build_ru.bat  | 1 +
 programs/media/kiv/trunk/kiv.asm          | 6 ++++++
 programs/other/rtfread/trunk/build_ru.bat | 1 +
 programs/other/rtfread/trunk/rtfread.asm  | 6 ++++++
 5 files changed, 15 insertions(+)

diff --git a/programs/develop/heed/trunk/build_en.bat b/programs/develop/heed/trunk/build_en.bat
index 2c26072794..91ce6000e1 100644
--- a/programs/develop/heed/trunk/build_en.bat
+++ b/programs/develop/heed/trunk/build_en.bat
@@ -1,5 +1,6 @@
 @erase lang.inc
 @echo lang fix en >lang.inc
 @fasm heed.asm heed
+@kpack heed
 @erase lang.inc
 @pause
\ No newline at end of file
diff --git a/programs/develop/heed/trunk/build_ru.bat b/programs/develop/heed/trunk/build_ru.bat
index 02b5b3701f..2480b0b926 100644
--- a/programs/develop/heed/trunk/build_ru.bat
+++ b/programs/develop/heed/trunk/build_ru.bat
@@ -1,5 +1,6 @@
 @erase lang.inc
 @echo lang fix ru >lang.inc
 @fasm heed.asm heed
+@kpack heed
 @erase lang.inc
 @pause
\ No newline at end of file
diff --git a/programs/media/kiv/trunk/kiv.asm b/programs/media/kiv/trunk/kiv.asm
index 331a49a737..73ce81f6a1 100644
--- a/programs/media/kiv/trunk/kiv.asm
+++ b/programs/media/kiv/trunk/kiv.asm
@@ -1034,6 +1034,12 @@ OpenDialog_data:
 .openfile_pach      dd path  ;openfile_pach ;+36
 .filename_area      dd 0    ;+40
 .filter_area        dd Filter
+.x:
+.x_size			dw 420 ;+48 ; Window X size
+.x_start		dw 10 ;+50 ; Window X position
+.y:
+.y_size			dw 320 ;+52 ; Window y size
+.y_start		dw 10 ;+54 ; Window Y position
 
 communication_area_name:
     db 'FFFFFFFF_open_dialog',0
diff --git a/programs/other/rtfread/trunk/build_ru.bat b/programs/other/rtfread/trunk/build_ru.bat
index 3e13096edc..548370c0dd 100644
--- a/programs/other/rtfread/trunk/build_ru.bat
+++ b/programs/other/rtfread/trunk/build_ru.bat
@@ -1,5 +1,6 @@
 @erase lang.inc
 @echo lang fix ru >lang.inc
 @fasm rtfread.asm rtfread
+@kpack rtfread
 @erase lang.inc
 @pause
\ No newline at end of file
diff --git a/programs/other/rtfread/trunk/rtfread.asm b/programs/other/rtfread/trunk/rtfread.asm
index 5187603089..c66129d8d9 100644
--- a/programs/other/rtfread/trunk/rtfread.asm
+++ b/programs/other/rtfread/trunk/rtfread.asm
@@ -778,6 +778,12 @@ OpenDialog_data:
 .openfile_pach          dd fname_buf ;+36
 .filename_area          dd 0    ;+40
 .filter_area            dd Filter
+.x:
+.x_size			dw 420 ;+48 ; Window X size
+.x_start		dw 10 ;+50 ; Window X position
+.y:
+.y_size			dw 320 ;+52 ; Window y size
+.y_start		dw 10 ;+54 ; Window Y position
 
 communication_area_name:
         db 'FFFFFFFF_open_dialog',0