Ilia Docin : sane.ds: Fix pixel type setting.
Module: wine Branch: master Commit: 161e34bd86cfca052ddeb7f9996ffec9f76abb74 URL: https://gitlab.winehq.org/wine/wine/-/commit/161e34bd86cfca052ddeb7f9996ffec... Author: Ilia Docin <ilya.docin(a)contentai.ru> Date: Wed Aug 16 12:59:32 2023 +0300 sane.ds: Fix pixel type setting. Remove extra memory access operator. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55375 --- dlls/sane.ds/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/sane.ds/options.c b/dlls/sane.ds/options.c index fabbb554744..1d39844a770 100644 --- a/dlls/sane.ds/options.c +++ b/dlls/sane.ds/options.c @@ -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; }
participants (1)
-
Alexandre Julliard