pkgsrc/audio/abcmidi/patches/patch-ac
2006-05-16 13:42:29 +00:00

13 lines
451 B
Text

$NetBSD: patch-ac,v 1.1 2006/05/16 13:42:29 ben Exp $
--- yapstree.c.orig 2006-04-22 11:05:06.000000000 -0700
+++ yapstree.c
@@ -1483,7 +1483,7 @@ char *str; /* string following first wor
};
};
if (strcmp(p, "vskip") == 0) {
- count = sscanf(s, "%lf%s", &vspace, units);
+ count = sscanf(s, "%lf%79s", &vspace, units);
if (count > 0) {
if ((count >= 2) && (strncmp(units, "cm", 2) == 0)) {
vspace = vspace*28.3;