summaryrefslogtreecommitdiff
path: root/src/options.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-02-27 17:51:28 +0100
committerDaniel Friesel <derf@finalrewind.org>2018-02-27 17:51:28 +0100
commit740f8151488a500906df70293cb579df7af0bc18 (patch)
tree163125e40b5f975654930c7da059862f5c4a700e /src/options.c
parent4b01c25946d0ec14d80a3ef2077ac40b78ab68d6 (diff)
parent6452404d310252bad6d09979f2a2e28bb58f2746 (diff)
Merge branch 'ulteq-custom-background-color'
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/options.c b/src/options.c
index 76d70c5..0ad7c74 100644
--- a/src/options.c
+++ b/src/options.c
@@ -454,14 +454,7 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun)
opt.actions[0] = estrdup(optarg);
break;
case 'B':
- if (!strcmp(optarg, "checks"))
- opt.image_bg = IMAGE_BG_CHECKS;
- else if (!strcmp(optarg, "white"))
- opt.image_bg = IMAGE_BG_WHITE;
- else if (!strcmp(optarg, "black"))
- opt.image_bg = IMAGE_BG_BLACK;
- else
- weprintf("Unknown argument to --image-bg: %s", optarg);
+ opt.image_bg = estrdup(optarg);
break;
case 'C':
D(("adding fontpath %s\n", optarg));