[sane.ds 3/4] Add support for ICAP_SUPPORTEDSIZES, enabling rational sizing for scans.

Alexandre Julliard julliard at winehq.org
Fri Mar 6 05:03:53 CST 2009


Jeremy White <jwhite at codeweavers.com> writes:

> +    rc = GetLocaleInfoA(LOCALE_USER_DEFAULT, LOCALE_IPAPERSIZE, paper, sizeof(paper));
> +    if (rc > 0)
> +        switch (atoi(paper))

You should use LOCALE_RETURN_NUMBER.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list