Tiny cleanup.
git-svn-id: svn://localhost/ardour2/branches/3.0@8634 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
7a03f1c3e6
commit
408d433842
@ -526,8 +526,7 @@ AutomationLine::fraction_to_string (double fraction) const
|
||||
snprintf (buf, sizeof (buf), "%.1f", accurate_coefficient_to_dB (slider_position_to_gain (fraction)));
|
||||
}
|
||||
} else {
|
||||
double dummy = 0.0;
|
||||
view_to_model_coord (dummy, fraction);
|
||||
view_to_model_coord_y (fraction);
|
||||
if (EventTypeMap::instance().is_integer (alist->parameter())) {
|
||||
snprintf (buf, sizeof (buf), "%d", (int)fraction);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user