diff options
author | Carl Hetherington <carl@carlh.net> | 2010-04-18 23:57:54 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-04-18 23:57:54 +0000 |
commit | 1fb2cc7ab120417d8d921a52b64a03bb526441db (patch) | |
tree | b408ee0b7f8760214b460a25d5de703275c7595a /gtk2_ardour | |
parent | 813037f5da97f5ed2fad3b671458ce47045cf116 (diff) |
Display shuttle speed in percentage rather than fraction. Fixes #1939.
git-svn-id: svn://localhost/ardour2/branches/3.0@6931 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/ardour_ui2.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/ardour_ui2.cc b/gtk2_ardour/ardour_ui2.cc index 05b6b5d5bd..543ff7aeeb 100644 --- a/gtk2_ardour/ardour_ui2.cc +++ b/gtk2_ardour/ardour_ui2.cc @@ -880,7 +880,7 @@ ARDOUR_UI::update_speed_display () if (x != 0) { if (Config->get_shuttle_units() == Percentage) { - snprintf (buf, sizeof (buf), "%.2f", x); + snprintf (buf, sizeof (buf), "%d", (int) round (x * 100)); } else { if (x < 0) { |