]> git.donarmstrong.com Git - lilypond.git/commitdiff
flower-1.1.0
authorfred <fred>
Tue, 18 Feb 1997 18:17:56 +0000 (18:17 +0000)
committerfred <fred>
Tue, 18 Feb 1997 18:17:56 +0000 (18:17 +0000)
flower/scalar.cc

index d8e6f9e74b927876f92c384d339daba951be650d..044b4d0b0fe7a1bae4193cfe9aadd0429255d17c 100644 (file)
@@ -1,3 +1,4 @@
+#include <assert.h>
 #include <stdio.h>
 #include "scalar.hh"
 
@@ -26,7 +27,7 @@ Scalar::isnum()
     int conv = false;
     if (len()) {
        long l =0;
-       conv = sscanf(data, "%ld", &l);
+       conv = sscanf(strh_.ch_c_l(), "%ld", &l);
     }
     return len() && conv;
 }