mirror of
https://github.com/aristocratos/btop.git
synced 2025-12-23 22:29:08 -05:00
Pass only static duration strings to Config::set in Config::apply_preset
This commit is contained in:
@@ -488,7 +488,7 @@ namespace Config {
|
||||
if (vals.at(0).starts_with("gpu")) {
|
||||
set("graph_symbol_gpu", vals.at(2));
|
||||
} else {
|
||||
set("graph_symbol_" + vals.at(0), vals.at(2));
|
||||
set(strings.find("graph_symbol_" + vals.at(0))->first, vals.at(2));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user