Consolidate code duplication

This commit is contained in:
Robin Gareus 2023-01-06 00:53:22 +01:00
parent 2226da1385
commit b410ed992b
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
3 changed files with 7 additions and 17 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2016-2017 Robin Gareus <robin@gareus.org>
* Copyright (C) 2016-2023 Robin Gareus <robin@gareus.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -207,7 +207,7 @@ PluginSetupDialog::toggle_fan_out ()
}
std::string
PluginSetupDialog::preset_label (uint32_t n_audio) const
PluginSetupDialog::preset_label (uint32_t n_audio)
{
std::string rv;
switch (n_audio) {