From 031f32210799807411af4fb9a40793d4f26febe7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 18 May 2015 20:26:49 +0300 Subject: Add font field into textchunk class. For now unused. --- src/gui/fonts/font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/fonts/font.cpp') diff --git a/src/gui/fonts/font.cpp b/src/gui/fonts/font.cpp index d689ef88c..27628aec5 100644 --- a/src/gui/fonts/font.cpp +++ b/src/gui/fonts/font.cpp @@ -249,7 +249,7 @@ void Font::drawString(Graphics *const graphics, #ifdef DEBUG_FONT_COUNTERS mCreateCounter ++; #endif - TextChunk *chunk2 = new TextChunk(text, col, col2); + TextChunk *chunk2 = new TextChunk(text, col, col2, this); chunk2->generate(mFont, alpha); cache->insertFirst(chunk2); -- cgit v1.2.3-70-g09d2