From 37230b0b5afee1dee5d25ff4c0281e8c9264709e Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Sat, 15 Mar 2014 15:32:37 +0000 Subject: [PATCH] HTMLv 0.99.75: fix page right margin git-svn-id: svn://kolibrios.org@4651 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/TWB/TWB.c | 2 +- programs/cmm/browser/HTMLv.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/programs/cmm/TWB/TWB.c b/programs/cmm/TWB/TWB.c index d6154afe6b..981af0473c 100644 --- a/programs/cmm/TWB/TWB.c +++ b/programs/cmm/TWB/TWB.c @@ -6,7 +6,7 @@ dword bufsize; #define URL param -scroll_bar scroll_wv = { 18,200,398, 44,18,0,115,15,0,0xeeeeee,0xD2CED0,0x555555,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1}; +scroll_bar scroll_wv = { 17,200,398, 44,17,0,115,15,0,0xeeeeee,0xD2CED0,0x555555,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1}; char header[2048]; diff --git a/programs/cmm/browser/HTMLv.c b/programs/cmm/browser/HTMLv.c index a314638cb8..1b46a31dce 100644 --- a/programs/cmm/browser/HTMLv.c +++ b/programs/cmm/browser/HTMLv.c @@ -30,14 +30,14 @@ #include "img\URLgoto.txt"; #ifdef LANG_RUS - char version[]=" Текстовый браузер 0.99.74"; + char version[]=" Текстовый браузер 0.99.75"; ?define IMAGES_CACHE_CLEARED "Кэш картинок очищен" ?define T_LAST_SLIDE "Это последний слайд" char loading[] = "Загрузка страницы...
"; unsigned char page_not_found[] = FROM "html\page_not_found_ru.htm"; char accept_language[]= "Accept-Language: ru\n"; #else - char version[]=" Text-based Browser 0.99.74"; + char version[]=" Text-based Browser 0.99.75"; ?define IMAGES_CACHE_CLEARED "Images cache cleared" ?define T_LAST_SLIDE "This slide is the last" char loading[] = "Loading...
"; @@ -225,7 +225,7 @@ void SetElementSizes() { address_box.width = Form.width - 266; WB1.list.SetSizes(0, 44, Form.width - 10 - scroll_wv.size_x, Form.cheight - 44, 0, 10); - WB1.list.column_max = WB1.list.w - 30 / 6; + WB1.list.column_max = WB1.list.w - scroll_wv.size_x / 6; WB1.list.visible = WB1.list.h - 3 / WB1.list.line_h - 2; WB1.DrawBuf.Init(WB1.list.x, WB1.list.y, WB1.list.w, WB1.list.h, WB1.list.line_h); }