diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/xplist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xplist.c b/src/xplist.c index fa6bb6d..a7d52e5 100644 --- a/src/xplist.c +++ b/src/xplist.c @@ -117,6 +117,8 @@ static size_t dtostr(char *buf, size_t bufsize, double realval) if (buf[i] == ',') { buf[i] = '.'; break; + } else if (buf[i] == '.') { + break; } } } |