Signed-off-by: Zebediah Figura zfigura@codeweavers.com --- dlls/mfplat/mfplat_private.h | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/mfplat/mfplat_private.h b/dlls/mfplat/mfplat_private.h index 0f1c5479e65..5c696ccc425 100644 --- a/dlls/mfplat/mfplat_private.h +++ b/dlls/mfplat/mfplat_private.h @@ -198,6 +198,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);