From 1fb2cc7ab120417d8d921a52b64a03bb526441db Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 18 Apr 2010 23:57:54 +0000 Subject: [PATCH] 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 --- gtk2_ardour/ardour_ui2.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {