summaryrefslogtreecommitdiffstatshomepage
path: root/out.c
diff options
context:
space:
mode:
Diffstat (limited to 'out.c')
-rw-r--r--out.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/out.c b/out.c
index d501aecc..93f70add 100644
--- a/out.c
+++ b/out.c
@@ -1,4 +1,4 @@
-/* $Id: out.c,v 1.22 2010/07/22 14:03:50 kristaps Exp $ */
+/* $Id: out.c,v 1.23 2010/07/22 23:03:15 kristaps Exp $ */
/*
* Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -116,6 +116,7 @@ a2roffsu(const char *src, struct roffsu *dst, enum roffscale def)
return(0);
}
+ /* FIXME: do this in the caller. */
if ((dst->scale = atof(buf)) < 0)
dst->scale = 0;
dst->unit = unit;