summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/config.def.c2
-rw-r--r--source/helper.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/config/config.def.c b/config/config.def.c
index 4f25b5d6..37ab74c6 100644
--- a/config/config.def.c
+++ b/config/config.def.c
@@ -121,7 +121,7 @@ Settings config = {
/** Sidebar mode, show the switchers */
.sidebar_mode = FALSE,
/** Lazy mode setting */
- .lazy_filter_limit = 15000,
+ .lazy_filter_limit = 15000,
/** auto select */
.auto_select = FALSE,
/** Parse /etc/hosts file in ssh view. */
diff --git a/source/helper.c b/source/helper.c
index 2011d7e0..94b90a28 100644
--- a/source/helper.c
+++ b/source/helper.c
@@ -280,6 +280,9 @@ char helper_parse_char ( const char *arg )
else if ( arg[1] == '\\' ) {
retv = '\\';
}
+ else if ( arg[1] == '0' ) {
+ retv = '\0';
+ }
}
else if ( len > 2 && arg[0] == '\\' && arg[1] == 'x' ) {
retv = (char) strtol ( &arg[2], NULL, 16 );
@@ -475,4 +478,3 @@ void config_sanity_check ( )
config.menu_bg_alt = config.menu_bg;
}
}
-