diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2014-09-09 21:27:55 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-09-09 21:27:55 +0200 |
| commit | 6d2e43b8142e17f4dd0a578a961b1d8cc98894bb (patch) | |
| tree | 9137169b01606fa65721358daa093c85c37b9168 /window.c | |
| parent | 78e0601e4ee68177ef597e75d08da786b0cabd3d (diff) | |
| download | vis-6d2e43b8142e17f4dd0a578a961b1d8cc98894bb.tar.gz vis-6d2e43b8142e17f4dd0a578a961b1d8cc98894bb.tar.xz | |
Remove trailing whitespaces (sed 's/[ \t]*$//')
Diffstat (limited to 'window.c')
| -rw-r--r-- | window.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -438,7 +438,7 @@ void window_draw(Win *win) { } bool window_resize(Win *win, int width, int height) { - if (wresize(win->win, height, width) == ERR) + if (wresize(win->win, height, width) == ERR) return false; // TODO: only grow memory area win->height = height; @@ -737,7 +737,7 @@ void window_syntax_set(Win *win, Syntax *syntax) { } Syntax *window_syntax_get(Win *win) { - return win->syntax; + return win->syntax; } void window_cursor_watch(Win *win, void (*cursor_moved)(Win*, void *), void *data) { |
