Commit be4b3459 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

quartz: Strip trailing zeroes in debugstr_time().

parent 92071510
......@@ -51,6 +51,7 @@ static inline const char *debugstr_time(REFERENCE_TIME time)
if (time < 0) buffer[i++] = '-';
while (i--) rev[j++] = buffer[i];
while (rev[j-1] == '0' && rev[j-2] != '.') --j;
rev[j] = 0;
return wine_dbg_sprintf("%s", rev);
......
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