diff options
author | bd <bdunahu@operationnull.com> | 2025-04-26 23:49:35 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-04-26 23:49:35 -0400 |
commit | 270d5c95c46385b7f8c3ad5ffd1adb4ac5a43acb (patch) | |
tree | 49ac24e66f02c2d7ceb589d28c5fab593059d0c4 /gui/util.cc | |
parent | d449750f789076459de8d47c2960a1279e543c32 (diff) |
Fix bug which caused a very large allocation
Diffstat (limited to 'gui/util.cc')
-rw-r--r-- | gui/util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/util.cc b/gui/util.cc index 21bf0be..f3486fb 100644 --- a/gui/util.cc +++ b/gui/util.cc @@ -5,7 +5,7 @@ int cache_size_mapper(int total_levels, int level) { const int y_min = 4; - const int y_max = MEM_LINES - 2; + const int y_max = MEM_LINE_SPEC - 2; double f, r; if (total_levels <= 1) |