]> git.sur5r.net Git - c128-kasse/blobdiff - src/general.c
use nice drawing characters and two-column layout
[c128-kasse] / src / general.c
index db7807c62e463649830656935a8cd88692bb120b..59945444f12ac9219117c5751e9c908b80af9e63 100644 (file)
@@ -52,7 +52,7 @@ char *format_euro(char *s, int maxlen, int cent){
        if (len >= maxlen)
                return NULL;
        // workaround to produce a leading zero for cents.. %0.2d won't work 
-       sprintf(s, "%2d,%s%dEUR", cent / 100, ((cent%100)<10?"0":""), cent % 100);
+       sprintf(s, "%3d,%s%dEUR", cent / 100, ((cent%100)<10?"0":""), cent % 100);
        return s;
 }