summaryrefslogtreecommitdiff
path: root/render/html_interaction.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/html_interaction.c')
-rw-r--r--render/html_interaction.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/render/html_interaction.c b/render/html_interaction.c
index 7373a25fd..834181cdc 100644
--- a/render/html_interaction.c
+++ b/render/html_interaction.c
@@ -471,8 +471,8 @@ void html_mouse_action(struct content *c, struct browser_window *bw,
} else if (iframe) {
int pos_x, pos_y;
browser_window_get_position(iframe, false, &pos_x, &pos_y);
- pos_x /= bw-> scale;
- pos_y /= bw-> scale;
+ pos_x /= bw->scale;
+ pos_y /= bw->scale;
if (mouse & BROWSER_MOUSE_CLICK_1 ||
mouse & BROWSER_MOUSE_CLICK_2) {