Signed-off-by: Zebediah Figura zfigura@codeweavers.com --- dlls/strmbase/strmbase_private.h | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/strmbase/strmbase_private.h b/dlls/strmbase/strmbase_private.h index e0628c13a1e..0a23592bd28 100644 --- a/dlls/strmbase/strmbase_private.h +++ b/dlls/strmbase/strmbase_private.h @@ -47,6 +47,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);