summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4faa458)
raw | patch | inline | side by side (parent: 4faa458)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Tue, 31 Oct 2006 21:19:40 +0000 (21:19 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Tue, 31 Oct 2006 21:19:40 +0000 (21:19 +0000) |
src/svg/svg-length.cpp | patch | blob | history |
diff --git a/src/svg/svg-length.cpp b/src/svg/svg-length.cpp
index 63af37665f02ce80858654108eebc02e15958acb..3b13e3d89018bbf4889e695f46cb0d8edb8258a3 100644 (file)
--- a/src/svg/svg-length.cpp
+++ b/src/svg/svg-length.cpp
}
/* Determine the actual number of fractional digits */
- fprec = MAX(fprec, tprec - idigits);
+ fprec = MAX(fprec, tprec - idigits - 1);
/* Round value */
val += 0.5 * pow(10.0, - ((double) fprec));
/* Extract integral and fractional parts */