forked from KolibriOS/kolibrios
fix prior
git-svn-id: svn://kolibrios.org@7763 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
1ae3511fb7
commit
a3acc97488
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user