From e1b1ba8aeecf2eefa2855ec8c77604a8070027ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Voltz?= Date: Fri, 26 Feb 2016 05:57:35 +0100 Subject: [PATCH] fix expiration time option reading --- backend/genesys.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/genesys.c b/backend/genesys.c index 1ba1d82a9..19b3a8277 100644 --- a/backend/genesys.c +++ b/backend/genesys.c @@ -5893,7 +5893,7 @@ init_options (Genesys_Scanner * s) DISABLE (OPT_COLOR_FILTER); } - /* calibration stor file name */ + /* calibration store file name */ s->opt[OPT_CALIBRATION_FILE].name = "calibration-file"; s->opt[OPT_CALIBRATION_FILE].title = SANE_I18N ("Calibration file"); s->opt[OPT_CALIBRATION_FILE].desc = SANE_I18N ("Specify the calibration file to use"); @@ -7125,6 +7125,7 @@ get_option_value (Genesys_Scanner * s, int option, void *val) case OPT_DESPECK: case OPT_CONTRAST: case OPT_BRIGHTNESS: + case OPT_EXPIRATION_TIME: *(SANE_Word *) val = s->val[option].w; break; case OPT_CUSTOM_GAMMA: