From 776cebe535b8685cf68d9c830f11555901f603f2 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Wed, 15 May 2013 13:19:36 +0200 Subject: Begone, bug. --- src/sdtui.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sdtui.c') 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); } -- cgit v1.2.3-70-g09d2