fix prior

git-svn-id: svn://kolibrios.org@7763 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2020-04-04 19:14:23 +00:00
parent 1ae3511fb7
commit a3acc97488

View File

@ -450,10 +450,10 @@ void OpenPage(dword _open_URL)
history.add(#new_url);
if (pages_cache.have(#new_url)) {
LoadInternalPage(pages_cache.current_page_buf, pages_cache.pages_cache.current_page_size);
}
else if (!strncmp(#new_url,"WebView:",8)) {
//if (pages_cache.have(#new_url)) {
// LoadInternalPage(pages_cache.current_page_buf, pages_cache.pages_cache.current_page_size);
//} else
if (!strncmp(#new_url,"WebView:",8)) {
//INTERNAL PAGE
if (!strcmp(#new_url, URL_SERVICE_HOMEPAGE)) LoadInternalPage(#homepage, sizeof(homepage));
else if (!strcmp(#new_url, URL_SERVICE_HELP)) LoadInternalPage(#help, sizeof(help));