Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/7738584b3411fa0941579...
...commit
http://git.netsurf-browser.org/netsurf.git/commit/7738584b3411fa094157983...
...tree
http://git.netsurf-browser.org/netsurf.git/tree/7738584b3411fa0941579831d...
The branch, master has been updated
via 7738584b3411fa0941579831deae388139eb7a5a (commit)
from 119b8af2db392c85eb07d0aefbadeda62f1b1cc9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=7738584b3411fa09415...
commit 7738584b3411fa0941579831deae388139eb7a5a
Author: Michael Drake <tlsa(a)netsurf-browser.org>
Commit: Michael Drake <tlsa(a)netsurf-browser.org>
Don't pass pointer to data that isn't on the stack any more to
content_broadcast.
diff --git a/render/html_interaction.c b/render/html_interaction.c
index ce2f78c..e030e57 100644
--- a/render/html_interaction.c
+++ b/render/html_interaction.c
@@ -1261,6 +1261,7 @@ void html_set_focus(html_content *html, html_focus_type focus_type,
union content_msg_data msg_data;
int x_off = 0;
int y_off = 0;
+ struct rect cr;
bool textarea_lost_focus = html->focus_type == HTML_FOCUS_TEXTAREA &&
focus_type != HTML_FOCUS_TEXTAREA;
@@ -1291,7 +1292,6 @@ void html_set_focus(html_content *html, html_focus_type focus_type,
} else if (focus_type != HTML_FOCUS_SELF && hide_caret) {
msg_data.caret.type = CONTENT_CARET_HIDE;
} else {
- struct rect cr;
if (clip != NULL) {
cr = *clip;
cr.x0 += x_off;
-----------------------------------------------------------------------
Summary of changes:
render/html_interaction.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/render/html_interaction.c b/render/html_interaction.c
index ce2f78c..e030e57 100644
--- a/render/html_interaction.c
+++ b/render/html_interaction.c
@@ -1261,6 +1261,7 @@ void html_set_focus(html_content *html, html_focus_type focus_type,
union content_msg_data msg_data;
int x_off = 0;
int y_off = 0;
+ struct rect cr;
bool textarea_lost_focus = html->focus_type == HTML_FOCUS_TEXTAREA &&
focus_type != HTML_FOCUS_TEXTAREA;
@@ -1291,7 +1292,6 @@ void html_set_focus(html_content *html, html_focus_type focus_type,
} else if (focus_type != HTML_FOCUS_SELF && hide_caret) {
msg_data.caret.type = CONTENT_CARET_HIDE;
} else {
- struct rect cr;
if (clip != NULL) {
cr = *clip;
cr.x0 += x_off;
--
NetSurf Browser