From 5585a7df408035e5e628e09a470d1c660c9b5570 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Fri, 31 Mar 2006 00:23:26 +0000 Subject: [PATCH] Make a warning message more polite, and clarify failed octave check. --- ChangeLog | 6 ++++++ lily/music.cc | 2 +- scm/lily-library.scm | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 694195e31e..b93ac82719 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-03-30 Graham Percival + + * scm/lily-library.scm: make "no version" warning message more polite. + + * lily/music.cc: add double quotes to failed octave check. + 2006-03-30 Han-Wen Nienhuys * lily/pango-font.cc (pango_item_string_stencil): more robustness. diff --git a/lily/music.cc b/lily/music.cc index 715df36c36..191f42a1b7 100644 --- a/lily/music.cc +++ b/lily/music.cc @@ -137,7 +137,7 @@ Music::generic_to_relative_octave (Pitch last) Pitch expected_pit (scm_to_int (check), new_pit.get_notename (), new_pit.get_alteration ()); - origin ()->warning (_f ("octave check failed; expected %s, found: %s", + origin ()->warning (_f ("octave check failed; expected \"%s\", found: %s", expected_pit.to_string (), new_pit.to_string ())); new_pit = expected_pit; diff --git a/scm/lily-library.scm b/scm/lily-library.scm index 2e7fde2763..8d12c350d7 100644 --- a/scm/lily-library.scm +++ b/scm/lily-library.scm @@ -488,7 +488,7 @@ possibly turned off." (string-append input-file-name ": 0: " (_ "warning: ") (format #f - (_ "no \\version statement found, add~afor future compatibility") + (_ "no \\version statement found, please add~afor future compatibility") (format #f "\n\n\\version ~s\n\n" (lilypond-version)))))) (define-public (old-relative-not-used-message input-file-name) -- 2.39.5