From 1d34f562e767b75f95404e22fe8aaef853dab73d Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Wed, 18 Mar 2015 22:23:24 +0000 Subject: [PATCH] WebView: Fix for previous revision git-svn-id: svn://kolibrios.org@5531 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/cmm/browser/WebView.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/programs/cmm/browser/WebView.c b/programs/cmm/browser/WebView.c index 7044cf19bb..b014b2cbc8 100644 --- a/programs/cmm/browser/WebView.c +++ b/programs/cmm/browser/WebView.c @@ -32,14 +32,14 @@ char homepage[] = FROM "html\\homepage.htm"; #ifdef LANG_RUS - char version[]=" Текстовый браузер 1.11"; + char version[]=" Текстовый браузер 1.12"; ?define IMAGES_CACHE_CLEARED "Кэш картинок очищен" ?define T_LAST_SLIDE "Это последний слайд" char loading[] = "Загрузка страницы...
"; char page_not_found[] = FROM "html\page_not_found_ru.htm"; char accept_language[]= "Accept-Language: ru\n"; #else - char version[]=" Text-based Browser 1.11"; + char version[]=" Text-based Browser 1.12"; ?define IMAGES_CACHE_CLEARED "Images cache cleared" ?define T_LAST_SLIDE "This slide is the last" char loading[] = "Loading...
"; @@ -200,8 +200,9 @@ void main() break; case evKey: key = GetKey(); - if (address_box.flags & 0b10) && (key!=ASCII_KEY_ENTER) + if (address_box.flags & 0b10) { + if (key==ASCII_KEY_ENTER) Scan(key); else if (key<>0x0d) && (key<>183) && (key<>184) {EAX=key<<8; edit_box_key stdcall(#address_box);} } else Scan(key);