msvcrt: Fix printf exponent with tests (resend/update)

Alexandre Julliard julliard at winehq.org
Wed Jul 9 05:36:46 CDT 2008


Jon Griffiths <jon_p_griffiths at yahoo.com> writes:

> diff --git a/dlls/msvcrt/wcs.c b/dlls/msvcrt/wcs.c
> index 14daf90..bbbc3f1 100644
> --- a/dlls/msvcrt/wcs.c
> +++ b/dlls/msvcrt/wcs.c
> @@ -481,6 +481,44 @@ static void pf_integer_conv( char *buf, int buf_len, pf_flags *flags,
>      return;
>  }
>  
> +/* pf_fixup_exponent: convert a string containing a 1 or 2 digit exponent
> +   to 3 digits, accounting for padding, in place */

The comments don't match the code, you don't handle a 1 digit exponent.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list