summaryrefslogtreecommitdiff
path: root/audio/abcmidi/patches/patch-ac
blob: 4530bc02c4ee71990e45830851e72f7128b93bfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ac,v 1.2 2011/02/17 13:54:12 ryoon Exp $

--- yapstree.c.orig	2010-12-12 15:18:56.000000000 +0000
+++ yapstree.c
@@ -1485,7 +1485,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;