sane.ds: Fix pixel type setting.

Remove extra memory access operator.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55375
This commit is contained in:
Ilia Docin 2023-08-16 12:59:32 +03:00 committed by Alexandre Julliard
parent 3f276c836b
commit 161e34bd86

View file

@ -103,7 +103,7 @@ TW_UINT16 sane_option_set_str(const char *option_name, char *val, BOOL *needs_re
struct option_descriptor opt;
TW_UINT16 rc = sane_find_option(option_name, TYPE_STRING, &opt);
if (rc == TWCC_SUCCESS) rc = sane_option_set_value( opt.optno, &val, needs_reload );
if (rc == TWCC_SUCCESS) rc = sane_option_set_value( opt.optno, val, needs_reload );
return rc;
}