From cc08a054ad52ffceb89a22f1ba0bc4a072884ff4 Mon Sep 17 00:00:00 2001 From: David Capello Date: Sat, 8 Feb 2014 17:56:36 -0300 Subject: [PATCH] Minor fix for timeline header of frames --- src/app/ui/timeline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/ui/timeline.cpp b/src/app/ui/timeline.cpp index e5784f37b..3c817d030 100644 --- a/src/app/ui/timeline.cpp +++ b/src/app/ui/timeline.cpp @@ -1144,7 +1144,7 @@ void Timeline::drawHeaderFrame(ui::Graphics* g, FrameNumber frame) // Draw the header for the layers. char buf[256]; - std::sprintf(buf, "%d", frame+1); + std::sprintf(buf, "%d", (frame+1)%100); // Draw only the first two digits. drawPart(g, bounds, buf, m_timelineBoxStyle, is_active, is_hover, is_clicked); }