2005-06-10 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * flower/string-convert.cc (precision_string): >? fix.
+
* scm/ps-to-png.scm (make-ps-images): search-gs for multipage too.
(make-ps-images): add verbose -q too.
String
String_convert::precision_string (double x, int n)
{
- String format = "%." + to_string (0 >? n - 1) + "e";
+ String format = "%." + to_string (max (0, n - 1)) + "e";
String str = double_string (abs (x), format.to_str0 ());
int exp = str.right_string (3).to_int ();