summaryrefslogtreecommitdiff
path: root/gui/util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gui/util.cc')
-rw-r--r--gui/util.cc2
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)