X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2Fnote.cc;h=0f7eb8e85fb70e14b760bf0585bc9cf1871ab63e;hb=9f160fcd0c8f1157b8a75f471961a0f24be37b66;hp=95a7d8313d5a6fc831479e2790426bd81ecc4945;hpb=c804f045577ba90f916afc0842294ede7e0df1d3;p=lilypond.git diff --git a/src/note.cc b/src/note.cc index 95a7d8313d..0f7eb8e85f 100644 --- a/src/note.cc +++ b/src/note.cc @@ -25,7 +25,7 @@ bool last_duration_mode = false; void set_duration_mode(String s) { - s.upper(); + s = s.upper_str(); last_duration_mode = (s== "LAST"); }