diff options
author | Jakob P. Liljenberg <admin@qvantnet.com> | 2024-06-24 17:28:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-24 17:28:44 +0200 |
commit | 18487c3c3b922861524c34f1ee762ee37dbda902 (patch) | |
tree | 5a5abb8594671261bea7e44d52c6dd5a14fd4525 | |
parent | 516979b2ae050a95a4bbd3928bc856e482a37097 (diff) | |
parent | 4702716ae0651d947c3b969a7cf60d252496e9dc (diff) |
Merge pull request #884 from feihtthief/fix_io_graph_speeds
-rw-r--r-- | src/btop_draw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/btop_draw.cpp b/src/btop_draw.cpp index c54f634..9b51bf9 100644 --- a/src/btop_draw.cpp +++ b/src/btop_draw.cpp @@ -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)); |