From 3251e911878b78b0aad8fc09c782f8d81c878f75 Mon Sep 17 00:00:00 2001 From: drkhsh Date: Fri, 28 Oct 2022 00:51:34 +0200 Subject: radical re-formatting 2/3: Fix blocks Fixes coding style. Formatting commits suck, incoherent coding style sucks more. https://suckless.org/coding_style/ --- components/temperature.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'components/temperature.c') diff --git a/components/temperature.c b/components/temperature.c index c61a574..7cf1394 100644 --- a/components/temperature.c +++ b/components/temperature.c @@ -13,9 +13,8 @@ { uintmax_t temp; - if (pscanf(file, "%ju", &temp) != 1) { + if (pscanf(file, "%ju", &temp) != 1) return NULL; - } return bprintf("%ju", temp / 1000); } -- cgit v1.2.3