summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraristocratos <gnmjpl@gmail.com>2021-09-21 21:27:46 +0200
committeraristocratos <gnmjpl@gmail.com>2021-09-21 21:27:46 +0200
commit5ce72403b62d39ace9926f5d51931b74839af55e (patch)
treee1a95dc3d71e6be560f988775dc73c3b44242183
parent6d11c8b4db353f58b518194e76a5a042f63a5903 (diff)
v1.0.4 Bug fixesv1.0.4
-rw-r--r--CHANGELOG.md4
-rw-r--r--src/btop.cpp2
2 files changed, 5 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b6a133c..98e9fec 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+## v1.0.4
+
+* Fixed: Use /proc/pid/statm if RSS memory from /proc/pid/stat is faulty
+
## v1.0.3
* Fixed: stoi 0 literal pointer to nullptr and added more clamping for gradient array access
diff --git a/src/btop.cpp b/src/btop.cpp
index fd92220..ed5eda4 100644
--- a/src/btop.cpp
+++ b/src/btop.cpp
@@ -55,7 +55,7 @@ namespace Global {
{"#801414", "██████╔╝ ██║ ╚██████╔╝██║ ╚═╝ ╚═╝"},
{"#000000", "╚═════╝ ╚═╝ ╚═════╝ ╚═╝"},
};
- const string Version = "1.0.3";
+ const string Version = "1.0.4";
int coreCount;
string overlay;