Re: [AD] Liitle Unicode patch

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> Out of curiosity, does it handle the "%*.*d" case ?

DJGPP:
    printf("%*.*d", 5, 10, 22);  gives "0000000022"
    printf("%*.*d", 10, 5, 22);  gives "     00022"

Allegro
    usprintf(s, "%*.*d", 5, 10, 22);  gives "0000000022"
    usprintf(s, "%*.*d", 10, 5, 22);  gives "     00022"


Looks like it does :-)

--
Eric Botcazou
ebotcazou@xxxxxxxxxx




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/