From 351b7328520c16730ceb46e5acae16038c42185e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Tue, 16 Feb 2021 18:24:19 +0100 Subject: New upstream version 1.0.32 --- backend/sharp.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'backend/sharp.c') diff --git a/backend/sharp.c b/backend/sharp.c index 701b179..d533103 100644 --- a/backend/sharp.c +++ b/backend/sharp.c @@ -18,9 +18,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, - MA 02111-1307, USA. + along with this program. If not, see . As a special exception, the authors of SANE give permission for additional uses of the libraries contained in this release of SANE. @@ -1678,7 +1676,7 @@ set_gamma_caps(SHARP_Scanner *s) /* The next function is a slightly modified version of sanei_constrain_value Instead of returning status information like STATUS_INVAL, it adjusts - an invaild value to the nearest allowed one. + an invalid value to the nearest allowed one. */ static void clip_value (const SANE_Option_Descriptor * opt, void * value) @@ -2096,7 +2094,7 @@ init_options (SHARP_Scanner * s) #ifdef USE_COLOR_THRESHOLD s->opt[OPT_THRESHOLD_R].name = SANE_NAME_THRESHOLD "-red"; - /* xxx the titles and decriptions are confusing: + /* xxx the titles and descriptions are confusing: "set white point (red)" Any idea? maybe "threshold to get the red component on" */ @@ -3145,7 +3143,7 @@ sprint_gamma(Option_Value val, SANE_Byte *dst) SANE_Byte *p = dst; p += sprintf((char *) p, "%i", val.wa[0] > 255 ? 255 : val.wa[0]); - /* val.wa[i] is over 255, so val.wa[i] is limitied to 255 */ + /* val.wa[i] is over 255, so val.wa[i] is limited to 255 */ for (i = 1; i < 256; i++) p += sprintf((char *) p, ",%i", val.wa[i] > 255 ? 255 : val.wa[i]); return p - dst; -- cgit v1.2.3