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

mfplat: Strip trailing zeroes in debugstr_time().

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