diff options
| author | Daniel Friesel <derf@derf.homelinux.org> | 2010-06-01 13:01:24 +0200 |
|---|---|---|
| committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-06-01 13:01:24 +0200 |
| commit | 1acaa6acec9ef8736fd55b26d84e21d6088746d9 (patch) | |
| tree | 0bb3d60030359ef877b8346734cae313b3322c5e | |
| parent | efd89fbbe4e20f42fa06a4aa7995befb12d38838 (diff) | |
Do not require X for options which don't use it
This makes the tests also work on systems which don't run X.
| -rw-r--r-- | src/options.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/options.c b/src/options.c index 1f3ec76..3cc4bd9 100644 --- a/src/options.c +++ b/src/options.c @@ -451,6 +451,7 @@ static void feh_parse_option_array(int argc, char **argv) break; case 'L': opt.customlist = estrdup(optarg); + opt.display = 0; break; case 'M': free(opt.menu_font); @@ -503,9 +504,11 @@ static void feh_parse_option_array(int argc, char **argv) break; case 'U': opt.loadables = 1; + opt.display = 0; break; case 'u': opt.unloadables = 1; + opt.display = 0; break; case 'p': opt.preload = 1; |
