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