diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/sdtui.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sdtui.c b/src/sdtui.c index d2e0679..233bbb8 100644 --- a/src/sdtui.c +++ b/src/sdtui.c @@ -398,6 +398,7 @@ app_scroll_up (guint n) if ((gint) (n_definitions - g_top_offset - last_entry->definitions_length) >= LINES - 1) { + n_definitions -= last_entry->definitions_length; g_ptr_array_remove_index_fast (g_entries, g_entries->len - 1); } |