diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-08-05 13:57:45 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-08-05 13:57:45 +0200 |
commit | 607374d4c7f7a133d3d1c5c012a6a5af9e2e60bf (patch) | |
tree | a430975e4b21cc780962be203e50fe118524157c /src/filelist.c | |
parent | 3b524947ce86e0120e5401e12b6bfa6a4ff3a918 (diff) |
Merge --dcraw-timeout and --magick-timeout into --conversion-timeout
Diffstat (limited to 'src/filelist.c')
-rw-r--r-- | src/filelist.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/filelist.c b/src/filelist.c index eb8e294..b492965 100644 --- a/src/filelist.c +++ b/src/filelist.c @@ -574,7 +574,7 @@ gib_list *feh_read_filelist(char *filename) Imlib_Load_Error err = IMLIB_LOAD_ERROR_NONE; Imlib_Image tmp_im; struct stat st; - signed short tmp_magick_timeout; + signed short tmp_conversion_timeout; if (!filename) return(NULL); @@ -582,8 +582,8 @@ gib_list *feh_read_filelist(char *filename) /* * feh_load_image will fail horribly if filename is not seekable */ - tmp_magick_timeout = opt.magick_timeout; - opt.magick_timeout = -1; + tmp_conversion_timeout = opt.conversion_timeout; + opt.conversion_timeout = -1; if (!stat(filename, &st) && S_ISREG(st.st_mode)) { tmp_im = imlib_load_image_with_error_return(filename, &err); if (err == IMLIB_LOAD_ERROR_NONE) { @@ -594,7 +594,7 @@ gib_list *feh_read_filelist(char *filename) return NULL; } } - opt.magick_timeout = tmp_magick_timeout; + opt.conversion_timeout = tmp_conversion_timeout; errno = 0; |