From 660c4b418afbf937cb9ad81eccab45aa680e7cf7 Mon Sep 17 00:00:00 2001 From: Daniel Collin Date: Sun, 30 Dec 2012 11:57:24 +0100 Subject: [PATCH] Fixed issues that row numbers would use wrong font now and then Closes #42 --- ogl_editor/src/TrackView.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ogl_editor/src/TrackView.c b/ogl_editor/src/TrackView.c index 5354a07..5befe29 100644 --- a/ogl_editor/src/TrackView.c +++ b/ogl_editor/src/TrackView.c @@ -70,6 +70,8 @@ static void printRowNumbers(int x, int y, int rowCount, int rowOffset, int rowSp { int i; + Emgui_setDefaultFont(); + if (rowOffset < 0) { y += rowSpacing * -rowOffset;