From 627e3a65e5060fb27b8ee7188757af28715a617e Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Tue, 15 Feb 2022 12:46:35 -0800 Subject: modules/*: remove inappropriate 'f' numeric suffixes These are making it into the settings strings, it's benign only because regexps aren't currently being enforced. Fix it up anyways. --- src/modules/stars/stars.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/modules/stars') diff --git a/src/modules/stars/stars.c b/src/modules/stars/stars.c index 56e7188..9a0d2a9 100644 --- a/src/modules/stars/stars.c +++ b/src/modules/stars/stars.c @@ -15,7 +15,7 @@ /* Copyright (C) 2017-20 Philip J. Freeman */ -#define DEFAULT_ROT_ADJ .00003f +#define DEFAULT_ROT_ADJ .00003 static float stars_rot_adj = DEFAULT_ROT_ADJ; @@ -205,12 +205,12 @@ int stars_setup(const til_settings_t *settings, til_setting_desc_t **next_settin { const char *rot_adj; const char *rot_adj_values[] = { - ".0f", - ".00001f", - ".00003f", - ".0001f", - ".0003f", - ".001f", + ".0", + ".00001", + ".00003", + ".0001", + ".0003", + ".001", NULL }; -- cgit v1.2.3