summaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/options.c b/src/options.c
index 9afa33a..224af59 100644
--- a/src/options.c
+++ b/src/options.c
@@ -72,6 +72,7 @@ void init_parse_options(int argc, char **argv)
opt.blur_button = 1;
opt.no_blur_ctrl_mask = 0;
+ opt.start_list_at = NULL;
opt.no_jump_on_resort = 0;
opt.builtin_http = 0;
@@ -627,7 +628,7 @@ static void feh_parse_option_array(int argc, char **argv)
opt.blur_button = atoi(optarg);
break;
case '|':
- opt.start_list_at = atoi(optarg);
+ opt.start_list_at = estrdup(optarg);
break;
case 't':
opt.thumbs = 1;