aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/plugins
diff options
context:
space:
mode:
authorMartin Sundhaug <[email protected]>2024-04-05 13:56:53 +0200
committerGitHub <[email protected]>2024-04-05 12:56:53 +0100
commit942172d2dc9194b95d637283ec3338c06c9c6597 (patch)
tree0c54b337293d4e430a06d07c2f4c645799e6ee3b /src/plugins
parentbaad44b4ca28d62fb9d86ed1f83650b6695b501d (diff)
downloadHyprland-942172d2dc9194b95d637283ec3338c06c9c6597.tar.gz
Hyprland-942172d2dc9194b95d637283ec3338c06c9c6597.zip
hooksystem: Fix miscalculation in comment (#5442)
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/HookSystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/HookSystem.cpp b/src/plugins/HookSystem.cpp
index 3ac75c04..8d47470b 100644
--- a/src/plugins/HookSystem.cpp
+++ b/src/plugins/HookSystem.cpp
@@ -336,7 +336,7 @@ static uintptr_t seekNewPageAddr() {
uint64_t CHookSystem::getAddressForTrampo() {
// yes, technically this creates a memory leak of 64B every hook creation. But I don't care.
// tracking all the users of the memory would be painful.
- // Nobody will hook 100k times, and even if, that's only 640kB. Nothing.
+ // Nobody will hook 100k times, and even if, that's only 6.4 MB. Nothing.
SAllocatedPage* page = nullptr;
for (auto& p : pages) {