Fix Segfault for first iteration of set_spaces - abc2ps - A powerful sheet setting tool using the simple abc notation
(HTM) git clone git://vernunftzentrum.de/abc2ps.git
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit e001f5fca1f9a03e591362b7edb803aaa228b0b3
(DIR) parent 361a200da0043f2d117e1a9ef92b85e853e38bc7
(HTM) Author: Christian Kellermann <ckeen@pestilenz.org>
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(-)
---
(DIR) 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;