summaryrefslogtreecommitdiff
path: root/src/modules/stars
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2022-02-15 12:46:35 -0800
committerVito Caputo <vcaputo@pengaru.com>2022-02-15 12:54:41 -0800
commit627e3a65e5060fb27b8ee7188757af28715a617e (patch)
tree56355f17f062b9baf2358af40356940def983941 /src/modules/stars
parent9a98cfe6224757ad21c223f74efb537d9edca24f (diff)
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.
Diffstat (limited to 'src/modules/stars')
-rw-r--r--src/modules/stars/stars.c14
1 files changed, 7 insertions, 7 deletions
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 <elektron@halo.nu> */
-#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
};
© All Rights Reserved