aboutsummaryrefslogtreecommitdiff
path: root/window.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 /window.c
parent78e0601e4ee68177ef597e75d08da786b0cabd3d (diff)
downloadvis-6d2e43b8142e17f4dd0a578a961b1d8cc98894bb.tar.gz
vis-6d2e43b8142e17f4dd0a578a961b1d8cc98894bb.tar.xz
Remove trailing whitespaces (sed 's/[ \t]*$//')
Diffstat (limited to 'window.c')
-rw-r--r--window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/window.c b/window.c
index fa43492..aca60d3 100644
--- a/window.c
+++ b/window.c
@@ -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) {