=================================================================== RCS file: /cvs/mandoc/out.c,v retrieving revision 1.21 retrieving revision 1.23 diff -u -p -r1.21 -r1.23 --- mandoc/out.c 2010/07/21 20:35:03 1.21 +++ mandoc/out.c 2010/07/22 23:03:15 1.23 @@ -1,4 +1,4 @@ -/* $Id: out.c,v 1.21 2010/07/21 20:35:03 kristaps Exp $ */ +/* $Id: out.c,v 1.23 2010/07/22 23:03:15 kristaps Exp $ */ /* * Copyright (c) 2009, 2010 Kristaps Dzonsons * @@ -116,6 +116,7 @@ a2roffsu(const char *src, struct roffsu *dst, enum rof return(0); } + /* FIXME: do this in the caller. */ if ((dst->scale = atof(buf)) < 0) dst->scale = 0; dst->unit = unit; @@ -255,6 +256,9 @@ a2roffdeco(enum roffdeco *d, const char **word, size_t case ('\''): term = '\''; break; + case ('0'): + j++; + /* FALLTHROUGH */ default: i--; lim = 1;