aboutsummaryrefslogtreecommitdiff
path: root/editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'editor.c')
-rw-r--r--editor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor.c b/editor.c
index 9af00d4..e497f77 100644
--- a/editor.c
+++ b/editor.c
@@ -55,7 +55,7 @@ static void editor_windows_arrange_horizontal(Editor *ed) {
int n = 0, x = 0, y = 0;
for (EditorWin *win = ed->windows; win; win = win->next)
n++;
- int height = ed->height / n;
+ int height = ed->height / n;
for (EditorWin *win = ed->windows; win; win = win->next) {
editor_window_resize(win, ed->width, win->next ? height : ed->height - y);
editor_window_move(win, x, y);
@@ -290,7 +290,7 @@ bool editor_window_new(Editor *ed, const char *filename) {
}
}
}
-
+
editor_draw(ed);
return true;