mirror of
https://github.com/polybar/polybar.git
synced 2024-11-18 13:55:11 -05:00
fix(alsa): use correct name for deprecation
This commit is contained in:
parent
06dee3dedd
commit
5ca1940629
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ namespace {
|
||||||
return new mpd_module(bar, move(module_name));
|
return new mpd_module(bar, move(module_name));
|
||||||
} else if (name == "internal/volume") {
|
} else if (name == "internal/volume") {
|
||||||
m_log.warn("internal/volume is deprecated, use internal/alsa instead");
|
m_log.warn("internal/volume is deprecated, use internal/alsa instead");
|
||||||
return new alsa_module(bar, move("internal/alsa"));
|
return new alsa_module(bar, move(name));
|
||||||
} else if (name == "internal/alsa") {
|
} else if (name == "internal/alsa") {
|
||||||
return new alsa_module(bar, move(module_name));
|
return new alsa_module(bar, move(module_name));
|
||||||
} else if (name == "internal/pulseaudio") {
|
} else if (name == "internal/pulseaudio") {
|
||||||
|
|
Loading…
Reference in a new issue