summaryrefslogtreecommitdiff
path: root/test/tokentest/tokentest.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tokentest/tokentest.c')
-rw-r--r--test/tokentest/tokentest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tokentest/tokentest.c b/test/tokentest/tokentest.c
index 2fd1e31..a0c54f6 100644
--- a/test/tokentest/tokentest.c
+++ b/test/tokentest/tokentest.c
@@ -164,7 +164,7 @@ GString *draw_spec_to_string(MetaDrawSpec *spec)
break;
case POS_TOKEN_DOUBLE:
- g_string_append_printf (result, "(double %d)", t.d.d.val);
+ g_string_append_printf (result, "(double %g)", t.d.d.val);
break;
case POS_TOKEN_OPERATOR: