diff src/preferences.c @ 2505:d01e5b8e80d9

Eliminate FIXME: Log window line limit Set log window line limit in Preferences/Behavior
author Colin Clark <colin.clark@cclark.uk>
date Sun, 18 Jun 2017 11:03:09 +0100
parents b5cec98159e7
children ecd984e6ba99
line wrap: on
line diff
--- a/src/preferences.c	Sat Jun 17 09:14:58 2017 +0100
+++ b/src/preferences.c	Sun Jun 18 11:03:09 2017 +0100
@@ -2196,6 +2196,9 @@
 
 	pref_spin_new_int(group, _("Debug level:"), NULL,
 			  DEBUG_LEVEL_MIN, DEBUG_LEVEL_MAX, 1, get_debug_level(), &debug_c);
+
+	pref_spin_new_int(group, _("Log Window max. lines:"), NULL,
+			  1, 99999, 1, options->log_window_lines, &options->log_window_lines);
 #endif
 }