From 16dedf761958b7812f3c471e59e20e1714de1d0f Mon Sep 17 00:00:00 2001 From: awy Date: Fri, 29 Aug 2025 23:52:36 +0300 Subject: tidy --- src/stweath.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/stweath.c b/src/stweath.c index 62bde59..0b0bee1 100644 --- a/src/stweath.c +++ b/src/stweath.c @@ -30,8 +30,8 @@ typedef struct { const char *icon; } WeatherIcon; -const char -*geticon(int code) +const char* +geticon(int code) { static const WeatherIcon icons[] = { {113, ""}, @@ -49,7 +49,8 @@ const char }; size_t n = sizeof(icons) / sizeof(icons[0]); for (size_t i = 0; i < n; i++) { - if (icons[i].code == code) { return icons[i].icon; } + if (icons[i].code == code) + return icons[i].icon; } return "unknown"; } -- cgit v1.2.3