HTMLv 0.99.05: fixes

git-svn-id: svn://kolibrios.org@3990 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2013-10-09 16:34:31 +00:00
parent c5f6557ef5
commit 1695703d66
2 changed files with 3 additions and 4 deletions

View File

@ -158,7 +158,7 @@ void main()
WB1.Scan(key);
_EDIT_MARK:
if (key<>0x0d) && (key<>183) && (key<>184) && (key<>173) {EAX=key<<8; edit_box_key stdcall(#address_box);} //ŕäđĺńíŕ˙ ńňđîęŕ
if (key<>0x0d) && (key<>183) && (key<>184) {EAX=key<<8; edit_box_key stdcall(#address_box);} //ŕäđĺńíŕ˙ ńňđîęŕ
break;
case evReDraw:
Draw_Window();

View File

@ -8,7 +8,7 @@ dword
char download_path[]="/rd/1/.download";
char search_path[]="http://nigma.ru/index.php?s=";
char version[]=" Text-based Browser 0.99.04";
char version[]=" Text-based Browser 0.99.05";
struct TWebBrowser {
@ -258,7 +258,6 @@ void TWebBrowser::Scan(int id)
strcat(#URL, #editURL);
OpenPage();
return;
case 173: //ctrl+enter
case SEARCHWEB:
strcpy(#URL, #search_path);
strcat(#URL, #editURL);
@ -298,7 +297,7 @@ void TWebBrowser::Scan(int id)
}
char *ABSOLUTE_LINKS[]={ "http:", "mailto:", "ftp:", "/sys/", "/rd/", "/fd/", "/bd/", "/hd/", "/cd/", "/tmp/", 0};
char *ABSOLUTE_LINKS[]={ "http:", "mailto:", "ftp:", "/sys/", "/kolibrios/", "/rd/", "/bd", "/hd", "/cd", "/tmp", "/usbhd", 0};
//dword TWebBrowser::GetNewUrl(dword CUR_URL, NEW_URL){
void TWebBrowser::GetNewUrl(){
int i, len;