]> git.donarmstrong.com Git - lilypond.git/blobdiff - src/dimen.cc
partial: 0.0.39-1.jcn
[lilypond.git] / src / dimen.cc
index 93077bd87b5b92e81ee4d05fd4739683ff2b5fa0..9489ae9a1eef6d7f1e66275776037c1badf93d24 100644 (file)
@@ -6,13 +6,13 @@
 Real
 parse_dimen(String dim)
 {
-    int i=dim.len()-1;
+    int i=dim.length_i()-1;
     const char *s = dim;
     while  (i > 0 && (isspace(s[i]) || isalpha(s[i])) ){
        i--;
     }
     String unit(s + i+1);
-    return convert_dimen(dim.fvalue(), unit); 
+    return convert_dimen(dim.value_f(), unit); 
 }