Signed-off-by: Zebediah Figura zfigura@codeweavers.com --- dlls/mf/mf_private.h | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/mf/mf_private.h b/dlls/mf/mf_private.h index dd8f49e1bc5..14f7288c9bb 100644 --- a/dlls/mf/mf_private.h +++ b/dlls/mf/mf_private.h @@ -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);