Commit a3067d19 authored by Daniel Veillard's avatar Daniel Veillard

Oops small clanup, Daniel

parent 56f0646e
......@@ -1017,7 +1017,7 @@ xmlXPathFormatNumber(double number, char buffer[], int buffersize)
if (absolute_value > 0.0)
integer_place = 1 + (int)log10(absolute_value);
else
integer_place = 1 - HUGE_VAL;
integer_place = 0;
fraction_place = (integer_place > 0)
? DBL_DIG - integer_place
: DBL_DIG;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment