summaryrefslogtreecommitdiff
path: root/gui.c
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2024-08-03 16:36:51 +1000
committerquou <quou@disroot.org>2024-08-03 16:36:51 +1000
commitfbf210c76a4c548fe16513a0c07c50532b51d4fb (patch)
treec5a3fc1f7b99a616b8c702f55203f78b5cc7851c /gui.c
parent496db167337e246cc12beb1ace2bdec35b916479 (diff)
Fix unitialised prev pointer
Diffstat (limited to 'gui.c')
-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;
}