aboutsummaryrefslogtreecommitdiff
path: root/editor.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-09-09 21:27:55 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-09 21:27:55 +0200
commit6d2e43b8142e17f4dd0a578a961b1d8cc98894bb (patch)
tree9137169b01606fa65721358daa093c85c37b9168 /editor.c
parent78e0601e4ee68177ef597e75d08da786b0cabd3d (diff)
downloadvis-6d2e43b8142e17f4dd0a578a961b1d8cc98894bb.tar.gz
vis-6d2e43b8142e17f4dd0a578a961b1d8cc98894bb.tar.xz
Remove trailing whitespaces (sed 's/[ \t]*$//')
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;