Skip to content

Commit

Permalink
v1.0.5 Bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aristocratos committed Sep 22, 2021
1 parent eedab30 commit 2f27d9f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## v1.0.5

* Fixed: Load AVG sizing when hiding temperatures

* Fixed: Sizing constraints bug on start and boxes can be toggled from size error screen

* Fixed: UTF-8 check crashing if LANG was set to non existant locale

## v1.0.4

* Fixed: Use /proc/pid/statm if RSS memory from /proc/pid/stat is faulty
Expand Down
2 changes: 1 addition & 1 deletion src/btop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ namespace Global {
{"#801414", "██████╔╝ ██║ ╚██████╔╝██║ ╚═╝ ╚═╝"},
{"#000000", "╚═════╝ ╚═╝ ╚═════╝ ╚═╝"},
};
const string Version = "1.0.4";
const string Version = "1.0.5";

int coreCount;
string overlay;
Expand Down
6 changes: 4 additions & 2 deletions src/btop_menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1341,8 +1341,10 @@ namespace Menu {
menuMask.reset();
menuMask.set(SizeError);
}
for (const auto& i : iota(0, (int)menuMask.size())) {
if (menuMask.test(i)) currentMenu = i;
else {
for (const auto& i : iota(0, (int)menuMask.size())) {
if (menuMask.test(i)) currentMenu = i;
}
}
}

Expand Down

0 comments on commit 2f27d9f

Please sign in to comment.