From b8198665c42e58744a4e46f2bcd08be1665b27dc Mon Sep 17 00:00:00 2001 From: Karl Heinz Kremer Date: Sun, 5 Oct 2003 12:03:09 +0000 Subject: [PATCH] Fixed bug 300246 - Use SANE_TITLE_SCAN_SPEED (and DESC and NAME) from saneopts.h instead of my own strings. Fixed typo in gamma correction description. --- ChangeLog | 6 ++++++ backend/epson.c | 6 +++--- backend/epson.h | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index e471fe64d..a525c6847 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-10-04 Karl Heinz Kremer + + * backend/epson.[ch]: Fixed bug 300246 - Use SANE_TITLE_SCAN_SPEED + (and DESC and NAME) from saneopts.h instead of my own strings. + Fixed typo in gamma correction description. + 2003-10-04 Henning Meier-Geinitz * AUTHORS configure configure.in backend/Makefile.in backend/dll.conf diff --git a/backend/epson.c b/backend/epson.c index cbf5f8e94..a010a674d 100644 --- a/backend/epson.c +++ b/backend/epson.c @@ -3046,9 +3046,9 @@ static SANE_Status init_options ( Epson_Scanner * s) { /* speed */ - s->opt[ OPT_SPEED].name = "speed"; - s->opt[ OPT_SPEED].title = SANE_I18N("Speed"); - s->opt[ OPT_SPEED].desc = ""; + s->opt[ OPT_SPEED].name = SANE_NAME_SCAN_SPEED; + s->opt[ OPT_SPEED].title = SANE_TITLE_SCAN_SPEED; + s->opt[ OPT_SPEED].desc = SANE_DESC_SCAN_SPEED; s->opt[ OPT_SPEED].type = SANE_TYPE_BOOL; s->val[ OPT_SPEED].w = SANE_FALSE; diff --git a/backend/epson.h b/backend/epson.h index 9d6af5993..4b1bc114b 100644 --- a/backend/epson.h +++ b/backend/epson.h @@ -66,7 +66,7 @@ #define SANE_NAME_GAMMA_CORRECTION "gamma-correction" #define SANE_TITLE_GAMMA_CORRECTION SANE_I18N("Gamma Correction") -#define SANE_DESC_GAMMA_CORRECTION SANE_I18N("Selectes the gamma correction value from a list of pre-defined devices or the user defined table, which can be downloaded to the scanner") +#define SANE_DESC_GAMMA_CORRECTION SANE_I18N("Selects the gamma correction value from a list of pre-defined devices or the user defined table, which can be downloaded to the scanner") #define SANE_EPSON_FOCUS_NAME "focus-position" #define SANE_EPSON_FOCUS_TITLE SANE_I18N("Focus Position")