summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fc972bd)
raw | patch | inline | side by side (parent: fc972bd)
author | ishmal <ishmal@users.sourceforge.net> | |
Sun, 25 Jun 2006 12:40:20 +0000 (12:40 +0000) | ||
committer | ishmal <ishmal@users.sourceforge.net> | |
Sun, 25 Jun 2006 12:40:20 +0000 (12:40 +0000) |
src/dom/io/domstream.cpp | patch | blob | history |
index 7b0a7e1d2b6cfa1bd6e14d5aef2350cca49f1b27..19ff3de7b1c784bd03f20ad23f5f7f18bde5292c 100644 (file)
--- a/src/dom/io/domstream.cpp
+++ b/src/dom/io/domstream.cpp
char ch = '0' + (int)dig;
buf.push_back(ch);
}
+ if (buf.size() == 0)
+ buf = "0";
//### Decimal point
if (flag == '#' || precision > 0)