diff options
Diffstat (limited to 'science/gchemutils/files/patch-programs-gchemcalc.cc')
-rw-r--r-- | science/gchemutils/files/patch-programs-gchemcalc.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/science/gchemutils/files/patch-programs-gchemcalc.cc b/science/gchemutils/files/patch-programs-gchemcalc.cc new file mode 100644 index 000000000000..01cabccf18d3 --- /dev/null +++ b/science/gchemutils/files/patch-programs-gchemcalc.cc @@ -0,0 +1,11 @@ +--- programs/gchemcalc.cc.orig Sat Feb 25 18:35:50 2006 ++++ programs/gchemcalc.cc Mon Mar 20 18:22:41 2006 +@@ -140,7 +140,7 @@ + } else { + if (prec < 0) { + // round the value to replace not significant figures by 0s. +- double offs = pow10 (prec); ++ double offs = pow (10, prec); + weight = rint (weight * offs) / offs; + } + format = artificial? g_strdup ("(%.0f)"): g_strdup ("%.0f"); |