Fix Segfault for first iteration of set_spaces - abc2ps - A powerful sheet sett… | |
git clone git://vernunftzentrum.de/abc2ps.git | |
Log | |
Files | |
Refs | |
--- | |
commit e001f5fca1f9a03e591362b7edb803aaa228b0b3 | |
parent 361a200da0043f2d117e1a9ef92b85e853e38bc7 | |
Author: Christian Kellermann <[email protected]> | |
Date: Tue, 17 Apr 2018 21:03:55 +0200 | |
Fix Segfault for first iteration of set_spaces | |
Diffstat: | |
music.h | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/music.h b/music.h | |
@@ -1227,7 +1227,7 @@ void set_spaces () | |
} | |
i=xp[XP_START].next; | |
- j=-1; | |
+ j=0; | |
typl=0; | |
for (;;) { | |
nxt=xp[i].next; |