summaryrefslogtreecommitdiffstats
path: root/source/helper.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2015-08-27 07:35:34 +0200
committerDave Davenport <qball@gmpclient.org>2015-08-27 07:35:34 +0200
commit353e82b27d5596aca3dc6b1bb1026007d4b257bc (patch)
tree22c3ee95c1a24220879636e6791262c806dae50c /source/helper.c
parent22775015665c021d78797d0342e8fe083a7b7387 (diff)
Allow 0 line margin
Diffstat (limited to 'source/helper.c')
-rw-r--r--source/helper.c6
1 files changed, 3 insertions, 3 deletions
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;
}
}