From 86dee4099125adff06fc9d04a584a39bf2dce240 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 6 Oct 2017 07:46:27 +0200 Subject: [PATCH] =?utf8?q?Run=20=E2=80=9Cmake=20format=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/general.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5