From 1695703d6616af7518aaa22d3bee576ac568cf24 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Wed, 9 Oct 2013 16:34:31 +0000 Subject: [PATCH] HTMLv 0.99.05: fixes git-svn-id: svn://kolibrios.org@3990 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/browser/HTMLv.c | 2 +- programs/cmm/browser/TWB.h | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/programs/cmm/browser/HTMLv.c b/programs/cmm/browser/HTMLv.c index 90eb78d97a..e4fcd64c42 100644 --- a/programs/cmm/browser/HTMLv.c +++ b/programs/cmm/browser/HTMLv.c @@ -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(); diff --git a/programs/cmm/browser/TWB.h b/programs/cmm/browser/TWB.h index 70f7744b5b..695fc488b7 100644 --- a/programs/cmm/browser/TWB.h +++ b/programs/cmm/browser/TWB.h @@ -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;