From b9889434d8565a8c5626878be7a0e7a910b93667 Mon Sep 17 00:00:00 2001 From: Doczom Date: Sat, 25 Sep 2021 16:45:31 +0000 Subject: [PATCH] fix height checkbox git-svn-id: svn://kolibrios.org@9201 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/misc/osupdate.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/programs/cmm/misc/osupdate.c b/programs/cmm/misc/osupdate.c index 70a37199aa..c391a4ec7a 100644 --- a/programs/cmm/misc/osupdate.c +++ b/programs/cmm/misc/osupdate.c @@ -28,6 +28,7 @@ _http http; #define T_EXIT "Выход" #define IMG_URL "http://builds.kolibrios.org/rus/data/data/kolibri.img" #define KS "Сохранить настройки" +#define checkbox_h 190 #else #define T_WINDOW_TITLE "KolibriOS Online Updater" #define T_TITLE_H1 "ONLINE UPDATE" @@ -39,6 +40,7 @@ Note that all changes on RAM-disk will be lost."; #define T_EXIT "Exit" #define IMG_URL "http://builds.kolibrios.org/eng/data/data/kolibri.img" #define KS "Keep settings folder" +#define checkbox_h 210 #endif char accept_language[]="en"; //not used, necessary for http.get() void Operation_Draw_Progress(dword f) {} //not used, necessary for copyf() @@ -85,7 +87,7 @@ void main() progress.set_size(30, WINH-130, WINW-60, 20); if (http.transfer<=0) { DrawCaptButton(WINW-110/2, WINH-70, 110, 28, 9, 0x0092D8, 0xFFFfff, T_INSTALL); - keep_settings.draw(30, WINH - 210); + keep_settings.draw(30, WINH - checkbox_h); } } else { DrawIcon32(WINW-32/2, 140, sc.work, 49);