summaryrefslogtreecommitdiff
path: root/src/modules/drizzle
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/drizzle
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/drizzle')
-rw-r--r--src/modules/drizzle/drizzle.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/drizzle/drizzle.c b/src/modules/drizzle/drizzle.c
index f0ed956..a637368 100644
--- a/src/modules/drizzle/drizzle.c
+++ b/src/modules/drizzle/drizzle.c
@@ -24,7 +24,7 @@
#define PUDDLE_SIZE 512
#define DRIZZLE_CNT 20
-#define DEFAULT_VISCOSITY .01f
+#define DEFAULT_VISCOSITY .01
typedef struct drizzle_context_t {
puddle_t *puddle;
@@ -157,10 +157,10 @@ static int drizzle_setup(const til_settings_t *settings, til_setting_desc_t **ne
{
const char *viscosity;
const char *values[] = {
- ".005f",
- ".01f",
- ".03f",
- ".05f",
+ ".005",
+ ".01",
+ ".03",
+ ".05",
NULL
};
© All Rights Reserved