Commit 161e34bd authored by Ilia Docin's avatar Ilia Docin Committed by Alexandre Julliard

sane.ds: Fix pixel type setting.

Remove extra memory access operator. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55375
parent 3f276c83
...@@ -103,7 +103,7 @@ TW_UINT16 sane_option_set_str(const char *option_name, char *val, BOOL *needs_re ...@@ -103,7 +103,7 @@ TW_UINT16 sane_option_set_str(const char *option_name, char *val, BOOL *needs_re
struct option_descriptor opt; struct option_descriptor opt;
TW_UINT16 rc = sane_find_option(option_name, TYPE_STRING, &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; return rc;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment