WebView 1.0 Beta 6.1: ViewSource - fix comments in code <!-- ->

git-svn-id: svn://kolibrios.org@4728 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2014-03-31 21:03:20 +00:00
parent 109df25e99
commit 74e44c8770
3 changed files with 5 additions and 5 deletions

View File

@ -444,6 +444,6 @@ lev
- остановка рисования после тега </html>.
20.02.08 -- v0.000001 -- 7.32 Ęá
20.06.08 -- v0.000001 -- 7.32 Ęá
Типа начало. :)
Переписал браузер Veliant'a под новую библиотеку, немного доделан.

View File

@ -29,14 +29,14 @@
char homepage[] = FROM "html\homepage.htm";
#ifdef LANG_RUS
char version[]=" ’¥ªáâ®¢ë© ¡à ã§¥à 1.0 Beta 6";
char version[]=" ’¥ªáâ®¢ë© ¡à ã§¥à 1.0 Beta 6.1";
?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.0 Beta 6";
char version[]=" Text-based Browser 1.0 Beta 6.1";
?define IMAGES_CACHE_CLEARED "Images cache cleared"
?define T_LAST_SLIDE "This slide is the last"
char loading[] = "Loading...<br>";

View File

@ -23,11 +23,11 @@ dword ShowSource()
case '<':
if (ESBYTE[i+1]=='!') && (ESBYTE[i+2]=='-') && (ESBYTE[i+3]=='-')
{
strcpy(new_buf, "<font color=#ccc>&lt;");
strcpy(new_buf, "<font color=#bbb>&lt;");
new_buf+=21;
mode = COMMENT;
}
else
if (mode != COMMENT)
{
strcpy(new_buf, "<font color=#00f>&lt;");
new_buf+=21;