mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-26 00:26:52 +03:00
HTMLv: fix for URLs, need to test
git-svn-id: svn://kolibrios.org@4562 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
4c6ef451fb
commit
e5380bd32b
@ -309,7 +309,6 @@ void TWebBrowser::Parse(dword bufpos, in_filesize){
|
|||||||
bufpos++;
|
bufpos++;
|
||||||
}
|
}
|
||||||
strlwr(#tag);
|
strlwr(#tag);
|
||||||
strlwr(#tagparam);
|
|
||||||
|
|
||||||
if (condition_text_active) && (condition_text_val != condition_href)
|
if (condition_text_active) && (condition_text_val != condition_href)
|
||||||
{
|
{
|
||||||
|
@ -43,7 +43,7 @@ void ImageCache::Images(int left1, top1, width1)
|
|||||||
do{
|
do{
|
||||||
if (!strcmp(#parametr,"src=")) //íàäî îáúåäèíèòü ñ GetNewUrl()
|
if (!strcmp(#parametr,"src=")) //íàäî îáúåäèíèòü ñ GetNewUrl()
|
||||||
{
|
{
|
||||||
//if (downloader_id) strcpy(#img_path, #history_list[history_current-1].Item); else
|
if (downloader_id) strcpy(#img_path, #history_list[BrowserHistory.current-1].Item); else
|
||||||
strcpy(#img_path, BrowserHistory.CurrentUrl());
|
strcpy(#img_path, BrowserHistory.CurrentUrl());
|
||||||
if (strcmpn(#img_path, "http:", 5)!=0) || (strcmpn(#options, "http:", 5)!=0)
|
if (strcmpn(#img_path, "http:", 5)!=0) || (strcmpn(#options, "http:", 5)!=0)
|
||||||
{
|
{
|
||||||
|
@ -34,5 +34,6 @@ unsigned int GetNextParam()
|
|||||||
}
|
}
|
||||||
strlcpy(#parametr, #tagparam + i + 1, sizeof(parametr));
|
strlcpy(#parametr, #tagparam + i + 1, sizeof(parametr));
|
||||||
tagparam[i] = 0x00;
|
tagparam[i] = 0x00;
|
||||||
|
strlwr(#parametr);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user