summaryrefslogtreecommitdiff
path: root/src/gui/gui-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/gui-common.c')
-rw-r--r--src/gui/gui-common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/gui-common.c b/src/gui/gui-common.c
index 6932173c2..b9e4e312c 100644
--- a/src/gui/gui-common.c
+++ b/src/gui/gui-common.c
@@ -244,6 +244,7 @@ gui_window_new (t_gui_window *parent, int x, int y, int width, int height,
new_window->first_line_displayed = 0;
new_window->start_line = NULL;
new_window->start_line_pos = 0;
+ new_window->scroll = 0;
new_window->ptr_tree = ptr_leaf;
ptr_leaf->window = new_window;