summaryrefslogtreecommitdiffstats
path: root/source/theme.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/theme.c')
-rw-r--r--source/theme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/theme.c b/source/theme.c
index 7467baae..3a9a19b8 100644
--- a/source/theme.c
+++ b/source/theme.c
@@ -254,7 +254,7 @@ inline static void printf_double(double d) {
char buf[G_ASCII_DTOSTR_BUF_SIZE + 1] = {
0,
};
- g_ascii_dtostr(buf, G_ASCII_DTOSTR_BUF_SIZE, d);
+ g_ascii_formatd(buf, G_ASCII_DTOSTR_BUF_SIZE, "%.4f", d);
fputs(buf, stdout);
}