Skip to content

Commit

Permalink
fix cpu version not included
Browse files Browse the repository at this point in the history
  • Loading branch information
masiboss committed Dec 7, 2023
1 parent 2369894 commit aeefcac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osx/btop_collect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ namespace Cpu {
name.clear();
} else if (v_contains(name_vec, "Apple"s)) {
auto apple_pos = v_index(name_vec, "Apple"s);
name = (apple_pos < name_vec.size() - 1 ? name_vec.at(apple_pos + 1) : "");
name = (apple_pos < name_vec.size() - 1 ? name_vec.at(apple_pos + 1) : "") + ' ' + (apple_pos < name_vec.size() - 1 ? name_vec.at(apple_pos + 2) : "");
} else
name.clear();

Expand Down

0 comments on commit aeefcac

Please sign in to comment.