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
This commit is contained in:
Carl Hetherington 2010-04-18 23:57:54 +00:00
parent 813037f5da
commit 1fb2cc7ab1

View File

@ -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) {