browser bugfixes

git-svn-id: svn://kolibrios.org@7799 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
2020-04-16 06:39:58 +00:00
parent e510a94760
commit 52e6b02de2
4 changed files with 6 additions and 5 deletions

View File

@@ -701,6 +701,7 @@ void LoadInternalPage(dword _bufdata, _in_bufsize){
DrawActiveTab();
if (source_mode) {
source_mode = false;
WB1.custom_encoding = CH_CP866;
ShowSource(WB1.bufpointer, _in_bufsize);
} else {
WB1.DrawPage();
@@ -708,7 +709,7 @@ void LoadInternalPage(dword _bufdata, _in_bufsize){
}
}
byte UrlExtIs(dword base, ext)
bool UrlExtIs(dword base, ext)
{
if (!strcmpi(base + strlen(base) - strlen(ext), ext)) return true;
return false;