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

mf: Strip trailing zeroes in debugstr_time().

parent 7e226781
......@@ -72,6 +72,7 @@ static inline const char *debugstr_time(LONGLONG 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