aboutsummaryrefslogtreecommitdiff
path: root/window.c
diff options
context:
space:
mode:
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) {