mirror of https://github.com/polybar/polybar.git
fix(config): Error message
This commit is contained in:
parent
087ea4e087
commit
73aa721f90
|
@ -295,7 +295,7 @@ class config {
|
||||||
T dereference_xrdb(string var) const {
|
T dereference_xrdb(string var) const {
|
||||||
size_t pos;
|
size_t pos;
|
||||||
#if not WITH_XRM
|
#if not WITH_XRM
|
||||||
m_log.warn("No built-in support for xrdb (requires xcb-util-xrm). Using default value for `%s`", var);
|
m_log.warn("No built-in support to dereference ${xrdb:%s} references (requires `xcb-util-xrm`)", var);
|
||||||
if ((pos = var.find(':')) != string::npos) {
|
if ((pos = var.find(':')) != string::npos) {
|
||||||
return convert<T>(var.substr(pos + 1));
|
return convert<T>(var.substr(pos + 1));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue