WebView: Fix for previous revision

git-svn-id: svn://kolibrios.org@5531 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2015-03-18 22:23:24 +00:00
parent bbbe1d6a27
commit 1d34f562e7

View File

@ -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 "<EFBFBD>â® ¯®á«¥¤­¨© á« ©¤"
char loading[] = "‡ £à㧪  áâà ­¨æë...<br>";
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...<br>";
@ -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);