Commit 7e226781 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

strmbase: Strip trailing zeroes in debugstr_time().

parent c713b295
...@@ -47,6 +47,7 @@ static inline const char *debugstr_time(REFERENCE_TIME time) ...@@ -47,6 +47,7 @@ static inline const char *debugstr_time(REFERENCE_TIME 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