diff options
author | Robin Gareus <robin@gareus.org> | 2012-11-13 16:14:22 +0000 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2012-11-13 16:14:22 +0000 |
commit | 1f1cba381496187b3e442f02a4c5657a2cabd891 (patch) | |
tree | 49e3d6606cb91cc15313f3d2dd1774dbd442a0e9 /gtk2_ardour/audio_clock.cc | |
parent | 98834c05324b6e5be70e642ef5b5d62f6d34334a (diff) |
oiling the audio clock
git-svn-id: svn://localhost/ardour2/branches/3.0@13478 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/audio_clock.cc')
-rw-r--r-- | gtk2_ardour/audio_clock.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/audio_clock.cc b/gtk2_ardour/audio_clock.cc index 505c06cafa..2fea0cb904 100644 --- a/gtk2_ardour/audio_clock.cc +++ b/gtk2_ardour/audio_clock.cc @@ -1114,7 +1114,7 @@ AudioClock::set_frames (framepos_t when, bool /*force*/) if (vid_pullup == 0.0) { _right_layout->set_markup (string_compose ("<span size=\"%1\" foreground=\"white\">%2</span>", - INFO_FONT_SIZE, _("pullup: \u2012"))); + INFO_FONT_SIZE, _("<s>pull up/down</s>"))); } else { sprintf (buf, _("%+-6.4f%%"), vid_pullup); _right_layout->set_markup (string_compose ("<span size=\"%1\" foreground=\"green\">%2</span>", @@ -1900,7 +1900,7 @@ AudioClock::timecode_validate_edit (const string&) char ignored[2]; if (sscanf (_layout->get_text().c_str(), "%" PRId32 ":%" PRId32 ":%" PRId32 "%[:;]%" PRId32, - &TC.hours, &TC.minutes, &TC.seconds, &ignored, &TC.frames) != 5) { + &TC.hours, &TC.minutes, &TC.seconds, ignored, &TC.frames) != 5) { return false; } @@ -1948,7 +1948,7 @@ AudioClock::frames_from_timecode_string (const string& str) const framepos_t sample; char ignored[2]; - if (sscanf (str.c_str(), "%d:%d:%d%[:;]%d", &TC.hours, &TC.minutes, &TC.seconds, &ignored, &TC.frames) != 4) { + if (sscanf (str.c_str(), "%d:%d:%d%[:;]%d", &TC.hours, &TC.minutes, &TC.seconds, ignored, &TC.frames) != 5) { error << string_compose (_("programming error: %1 %2"), "badly formatted timecode clock string", str) << endmsg; return 0; } |