From: Michael Stapelberg Date: Fri, 6 Oct 2017 05:46:27 +0000 (+0200) Subject: Run “make format” X-Git-Tag: rgb2rv17~11 X-Git-Url: https://git.sur5r.net/?p=c128-kasse;a=commitdiff_plain;h=86dee4099125adff06fc9d04a584a39bf2dce240;ds=sidebyside Run “make format” --- diff --git a/src/general.c b/src/general.c index ad00497..3a3750d 100644 --- a/src/general.c +++ b/src/general.c @@ -75,7 +75,7 @@ char retry_or_quit(void) { } char *format_euro(char *s, int maxlen, int cent) { - if(snprintf(s,maxlen,"%3d,%02dEUR", cent/100, cent%100) > maxlen) + if (snprintf(s, maxlen, "%3d,%02dEUR", cent / 100, cent % 100) > maxlen) return NULL; return s; }