From 9c6d445705c691154a546d52a7586c5da74f999a Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Wed, 4 Apr 2012 21:00:56 +0000 Subject: [PATCH] HTMLv: memory fixes, fix git-svn-id: svn://kolibrios.org@2566 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/network/htmlv/browser/TWB.h | 4 ++-- programs/network/htmlv/lib/kolibri.h-- | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/programs/network/htmlv/browser/TWB.h b/programs/network/htmlv/browser/TWB.h index cc28a48460..a6108d7576 100644 --- a/programs/network/htmlv/browser/TWB.h +++ b/programs/network/htmlv/browser/TWB.h @@ -690,9 +690,9 @@ void TWebBrowser::WhatTextStyle(int left1, top1, width1) { top1=WB1.top; } - if (top1>WB1.top+WB1.height-h-10) //если часть изображения снизу IF (stroka - 2 < max_kolvo_strok) + if (top1>WB1.top+WB1.height-h-15) //если часть изображения снизу IF (stroka - 2 < max_kolvo_strok) { - h=WB1.top+WB1.height-top1-10; + h=WB1.top+WB1.height-top1-15; } IF (h<=0) return; diff --git a/programs/network/htmlv/lib/kolibri.h-- b/programs/network/htmlv/lib/kolibri.h-- index 7fe8cbdfea..f6ac265959 100644 --- a/programs/network/htmlv/lib/kolibri.h-- +++ b/programs/network/htmlv/lib/kolibri.h-- @@ -11,8 +11,8 @@ dword alloc_mem = #0x00100000; dword x86esp_reg = #0x00100000; dword I_Param = #param; dword I_Path = #program_path; -char param[4096]=""; -char program_path[4096]=""; +char param[4096]; +char program_path[4096]; //Events #define evMouse 6