mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 08:53:08 +01:00
MCU: fix formatting
This commit is contained in:
parent
157031ae71
commit
7df7f98566
1 changed files with 5 additions and 5 deletions
|
|
@ -714,12 +714,12 @@ Strip::handle_button (Button& button, ButtonState bs)
|
|||
|
||||
std::string
|
||||
Strip::remove_units (std::string s) {
|
||||
s = std::regex_replace (s, std::regex(" kHz$"), "k");
|
||||
s = std::regex_replace (s, std::regex(" Hz$"), "");
|
||||
s = std::regex_replace (s, std::regex(" dB$"), "");
|
||||
s = std::regex_replace (s, std::regex(" ms$"), "");
|
||||
s = std::regex_replace (s, std::regex(" kHz$"), "k");
|
||||
s = std::regex_replace (s, std::regex(" Hz$"), "");
|
||||
s = std::regex_replace (s, std::regex(" dB$"), "");
|
||||
s = std::regex_replace (s, std::regex(" ms$"), "");
|
||||
|
||||
return s;
|
||||
return s;
|
||||
}
|
||||
|
||||
std::string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue