summaryrefslogtreecommitdiff
path: root/src/gui/fonts/font.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-18 20:26:49 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-18 21:45:18 +0300
commit031f32210799807411af4fb9a40793d4f26febe7 (patch)
treea9ad02433e05c3f004ce192f8e47572a3795fd48 /src/gui/fonts/font.cpp
parentfbbf87a36f5f27851a2e2d17b95a0f17dd82624b (diff)
downloadmv-031f32210799807411af4fb9a40793d4f26febe7.tar.gz
mv-031f32210799807411af4fb9a40793d4f26febe7.tar.bz2
mv-031f32210799807411af4fb9a40793d4f26febe7.tar.xz
mv-031f32210799807411af4fb9a40793d4f26febe7.zip
Add font field into textchunk class. For now unused.
Diffstat (limited to 'src/gui/fonts/font.cpp')
-rw-r--r--src/gui/fonts/font.cpp2
1 files changed, 1 insertions, 1 deletions
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);