mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
oops.
This commit is contained in:
parent
36f6aa9356
commit
a021da9a9d
1 changed files with 2 additions and 2 deletions
|
|
@ -570,9 +570,9 @@ ProcessorEntry::Control::set_tooltip ()
|
|||
}
|
||||
char tmp[256];
|
||||
if (c->toggled ()) {
|
||||
snprintf (tmp, sizeof(tmp), "%sX %s", _name.c_str(), c->get_value() > 0.5 ? _("on") : _("off"));
|
||||
snprintf (tmp, sizeof(tmp), "%s: %s", _name.c_str(), c->get_value() > 0.5 ? _("on") : _("off"));
|
||||
} else {
|
||||
snprintf (tmp, sizeof(tmp), "%sX %.2f", _name.c_str(), c->internal_to_user (c->get_value ()));
|
||||
snprintf (tmp, sizeof(tmp), "%s: %.2f", _name.c_str(), c->internal_to_user (c->get_value ()));
|
||||
}
|
||||
|
||||
string sm = Glib::Markup::escape_text (tmp);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue