diff --git a/programs/cmm/TWB/TWB.c b/programs/cmm/TWB/TWB.c index 08e465cf7d..91f930a714 100644 --- a/programs/cmm/TWB/TWB.c +++ b/programs/cmm/TWB/TWB.c @@ -309,7 +309,6 @@ void TWebBrowser::Parse(dword bufpos, in_filesize){ bufpos++; } strlwr(#tag); - strlwr(#tagparam); if (condition_text_active) && (condition_text_val != condition_href) { diff --git a/programs/cmm/TWB/img_cache.h b/programs/cmm/TWB/img_cache.h index 08bc16cba8..d0968ca08f 100644 --- a/programs/cmm/TWB/img_cache.h +++ b/programs/cmm/TWB/img_cache.h @@ -43,7 +43,7 @@ void ImageCache::Images(int left1, top1, width1) do{ 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()); if (strcmpn(#img_path, "http:", 5)!=0) || (strcmpn(#options, "http:", 5)!=0) { diff --git a/programs/cmm/TWB/parce_tag.h b/programs/cmm/TWB/parce_tag.h index 7040f10d6f..8843c896e5 100644 --- a/programs/cmm/TWB/parce_tag.h +++ b/programs/cmm/TWB/parce_tag.h @@ -34,5 +34,6 @@ unsigned int GetNextParam() } strlcpy(#parametr, #tagparam + i + 1, sizeof(parametr)); tagparam[i] = 0x00; + strlwr(#parametr); return 1; } \ No newline at end of file