summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui.c b/gui.c
index 366e420..5efda30 100644
--- a/gui.c
+++ b/gui.c
@@ -21,6 +21,7 @@ void gui_begin(GUI* g, const App* app, Arena* a) {
g->app = app;
g->pad = 2;
g->first = 0;
+ g->prev = 0;
g->cursor[0] = 10;
g->cursor[1] = 10;
}