[gnome-panel] clock: fix -Werror=misleading-indentation warnings
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] clock: fix -Werror=misleading-indentation warnings
- Date: Fri, 20 Aug 2021 15:27:12 +0000 (UTC)
commit b4ab1f66752df19fb8979caa71c5039b56349100
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Fri Aug 20 18:26:49 2021 +0300
clock: fix -Werror=misleading-indentation warnings
modules/clock/clock-sunpos.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/modules/clock/clock-sunpos.c b/modules/clock/clock-sunpos.c
index a0e33f68e..02dc81235 100644
--- a/modules/clock/clock-sunpos.c
+++ b/modules/clock/clock-sunpos.c
@@ -39,7 +39,7 @@
#define MEAN_OBLIQUITY 23.440592 /* degrees */ /* mean obliquity of earth's axis at epoch 1990.0 */
#define NORMALIZE(x) \
- while (x>360) x-=360; while (x<0) x+= 360;
+ while (x>360) { x-=360; } while (x<0) { x+= 360; }
#define DEG_TO_RADS(x) \
(x * G_PI/180.0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]