mirror of
https://github.com/aristocratos/btop.git
synced 2024-10-03 02:26:58 +13:00
Merge pull request #884 from feihtthief/fix_io_graph_speeds
This commit is contained in:
commit
18487c3c3b
1 changed files with 1 additions and 1 deletions
|
@ -1162,7 +1162,7 @@ namespace Mem {
|
|||
if (not Config::getS("io_graph_speeds").empty()) {
|
||||
auto split = ssplit(Config::getS("io_graph_speeds"));
|
||||
for (const auto& entry : split) {
|
||||
auto vals = ssplit(entry);
|
||||
auto vals = ssplit(entry, ':');
|
||||
if (vals.size() == 2 and mem.disks.contains(vals.at(0)) and isint(vals.at(1)))
|
||||
try {
|
||||
custom_speeds[vals.at(0)] = std::stoi(vals.at(1));
|
||||
|
|
Loading…
Reference in a new issue