HTMLv: memory fixes, <img> fix

git-svn-id: svn://kolibrios.org@2566 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2012-04-04 21:00:56 +00:00
parent 4c7ea7042a
commit 9c6d445705
2 changed files with 4 additions and 4 deletions

View File

@ -690,9 +690,9 @@ void TWebBrowser::WhatTextStyle(int left1, top1, width1) {
top1=WB1.top; 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; IF (h<=0) return;

View File

@ -11,8 +11,8 @@ dword alloc_mem = #0x00100000;
dword x86esp_reg = #0x00100000; dword x86esp_reg = #0x00100000;
dword I_Param = #param; dword I_Param = #param;
dword I_Path = #program_path; dword I_Path = #program_path;
char param[4096]=""; char param[4096];
char program_path[4096]=""; char program_path[4096];
//Events //Events
#define evMouse 6 #define evMouse 6