sane.ds: Remove unneeded address-of operators from array name.
This commit is contained in:
parent
9b0adb406d
commit
8c41a3bd01
|
@ -528,7 +528,7 @@ BOOL DoScannerUI(void)
|
||||||
|
|
||||||
hdc = GetDC(0);
|
hdc = GetDC(0);
|
||||||
|
|
||||||
memset(&psp,0,sizeof(psp));
|
memset(psp,0,sizeof(psp));
|
||||||
rc = psane_control_option(activeDS.deviceHandle, 0, SANE_ACTION_GET_VALUE,
|
rc = psane_control_option(activeDS.deviceHandle, 0, SANE_ACTION_GET_VALUE,
|
||||||
&optcount, NULL);
|
&optcount, NULL);
|
||||||
if (rc != SANE_STATUS_GOOD)
|
if (rc != SANE_STATUS_GOOD)
|
||||||
|
@ -585,7 +585,7 @@ BOOL DoScannerUI(void)
|
||||||
psh.pszCaption = szCaption;
|
psh.pszCaption = szCaption;
|
||||||
psh.nPages = page_count;
|
psh.nPages = page_count;
|
||||||
psh.u2.nStartPage = 0;
|
psh.u2.nStartPage = 0;
|
||||||
psh.u3.ppsp = (LPCPROPSHEETPAGEW) &psp;
|
psh.u3.ppsp = (LPCPROPSHEETPAGEW)psp;
|
||||||
psh.pfnCallback = PropSheetProc;
|
psh.pfnCallback = PropSheetProc;
|
||||||
|
|
||||||
psrc = PropertySheetW(&psh);
|
psrc = PropertySheetW(&psh);
|
||||||
|
|
Loading…
Reference in New Issue