Skip to content

Commit

Permalink
Merge pull request #884 from feihtthief/fix_io_graph_speeds
Browse files Browse the repository at this point in the history
  • Loading branch information
aristocratos authored Jun 24, 2024
2 parents 516979b + 4702716 commit 18487c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/btop_draw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 18487c3

Please sign in to comment.