summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2019-07-24 18:05:04 +0200
committerKatolaZ <katolaz@freaknet.org>2019-08-05 07:06:45 +0100
commit8c68f21cb18bf707d6d5dec1724d3bd11b5855d6 (patch)
tree2cfe75469403ad3386e094dd7d207b6b782c3719
parent24ef5b3f6cd5000acaa7f2149d95a04680d0be5c (diff)
Make sure step is 1 at startup
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index ea8a4fc..9a6ef59 100644
--- a/main.c
+++ b/main.c
@@ -64,6 +64,7 @@ void init(){
init_screen();
x = 0;
y = 0;
+ step = 1;
modified = 0;
fname[0] = '\0';
redraw();