diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2013-05-15 13:19:36 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2013-05-15 13:19:36 +0200 |
commit | 776cebe535b8685cf68d9c830f11555901f603f2 (patch) | |
tree | 97efd857ab68d242d62c37d6d450d784f111b3f9 | |
parent | e054f21ad54222df6bed182457bcfb52a435389b (diff) | |
download | tdv-776cebe535b8685cf68d9c830f11555901f603f2.tar.gz tdv-776cebe535b8685cf68d9c830f11555901f603f2.tar.xz tdv-776cebe535b8685cf68d9c830f11555901f603f2.zip |
Begone, bug.
-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); } |