diff --git a/render/html_interaction.c b/render/html_interaction.c
index f38361161..15bf593c1 100644
--- a/render/html_interaction.c
+++ b/render/html_interaction.c
@@ -760,8 +760,8 @@ void html_mouse_action(struct content *c, struct browser_window *bw,
done = true;
}
- }
- else if (mouse & BROWSER_MOUSE_PRESS_1)
+
+ } else if (mouse & BROWSER_MOUSE_PRESS_1)
selection_clear(&html->sel, true);
}
@@ -778,10 +778,10 @@ void html_mouse_action(struct content *c, struct browser_window *bw,
CONTENT_MSG_DRAGSAVE,
msg_data);
} else {
- if (drag_candidate == NULL)
+ if (drag_candidate == NULL) {
browser_window_page_drag_start(
bw, x, y);
- else {
+ } else {
html_box_drag_start(
drag_candidate,
x, y);
@@ -798,10 +798,10 @@ void html_mouse_action(struct content *c, struct browser_window *bw,
CONTENT_MSG_DRAGSAVE,
msg_data);
} else {
- if (drag_candidate == NULL)
+ if (drag_candidate == NULL) {
browser_window_page_drag_start(
bw, x, y);
- else {
+ } else {
html_box_drag_start(
drag_candidate,
x, y);
diff --git a/render/textplain.c b/render/textplain.c
index ec4d486e5..78539b47d 100644
--- a/render/textplain.c
+++ b/render/textplain.c
@@ -521,8 +521,8 @@ void textplain_reformat(struct content *c, int width, int height)
/* break at last space in line */
i = space;
line[line_count-1].length = (i + 1) - line_start;
- }
- else
+
+ } else
line[line_count-1].length = i - line_start;
}
line[line_count++].start = line_start = i + 1;