Signed-off-by: Zebediah Figura zfigura@codeweavers.com --- dlls/quartz/quartz_private.h | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/quartz/quartz_private.h b/dlls/quartz/quartz_private.h index 28bb016fdf9..1cec5755c13 100644 --- a/dlls/quartz/quartz_private.h +++ b/dlls/quartz/quartz_private.h @@ -51,6 +51,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);