diff options
-rw-r--r-- | config/config.def.c | 2 | ||||
-rw-r--r-- | source/helper.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/config/config.def.c b/config/config.def.c index 7a88c01a..a7e2e94b 100644 --- a/config/config.def.c +++ b/config/config.def.c @@ -132,7 +132,7 @@ Settings config = { .fuzzy = FALSE, /** Monitor */ .monitor = -1, - .line_margin = 3, + .line_margin = 2, .filter = NULL, .separator_style = "dash", }; diff --git a/source/helper.c b/source/helper.c index 20b82b99..9040b735 100644 --- a/source/helper.c +++ b/source/helper.c @@ -487,10 +487,10 @@ void config_sanity_check ( ) found_error = 1; } if ( 0 ) { - if ( !( config.line_margin >= 3 && config.line_margin <= 50 ) ) { + if ( !( config.line_margin <= 50 ) ) { g_string_append_printf ( msg, "\t<b>config.line_margin</b>=%d is invalid. Value should be between %d and %d.\n", - config.line_margin, 3, 50 ); - config.line_margin = 3; + config.line_margin, 0, 50 ); + config.line_margin = 2; found_error = 1; } } |