WebView: various fixes

git-svn-id: svn://kolibrios.org@9089 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
2021-07-26 07:21:58 +00:00
parent 53e6a25eb8
commit 1ab60232c8
5 changed files with 33 additions and 62 deletions

View File

@@ -1,4 +1,4 @@
//Copyright 2007-2020 by Veliant & Leency
//Copyright 2007-2021 by Veliant & Leency
//Asper, lev, Lrz, Barsuk, Nable, hidnplayr...
//===================================================//
@@ -234,6 +234,7 @@ void main()
}
LoadInternalPage(http.content_pointer, http.content_received);
free(http.content_pointer);
DrawOmnibox();
}
else if (http_get_type==IMG) {
_IMG_RES:
@@ -426,10 +427,10 @@ void EventAllTabsClick(dword _n)
void EventEditSource()
{
if (check_is_the_adress_local(history.current())) {
RunProgram("/rd/1/quark", history.current());
RunProgram("/rd/1/develop/cedit", history.current());
} else {
CreateFile(WB1.bufsize, WB1.bufpointer, "/tmp0/1/WebView_tmp.htm");
if (!EAX) RunProgram("/rd/1/quark", "/tmp0/1/WebView_tmp.htm");
if (!EAX) RunProgram("/rd/1/develop/cedit", "/tmp0/1/WebView_tmp.htm");
}
}