summaryrefslogtreecommitdiff
path: root/src/koopatlas/starcoin.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-09-21 00:08:14 +0200
committerTreeki <treeki@gmail.com>2012-09-21 00:08:14 +0200
commitbadb2bf6bc25f47e711fc483e0c551b4fc18759f (patch)
tree4c0a7033a7e16cf05c2f8722aba8036bc87579a4 /src/koopatlas/starcoin.cpp
parentf21117a1ebb837fec02b42a3808896d6edb4ccf6 (diff)
downloadkamek-badb2bf6bc25f47e711fc483e0c551b4fc18759f.tar.gz
kamek-badb2bf6bc25f47e711fc483e0c551b4fc18759f.zip
fixes, header cleanups, and part of the code for the new HUD
Diffstat (limited to '')
-rw-r--r--src/koopatlas/starcoin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/koopatlas/starcoin.cpp b/src/koopatlas/starcoin.cpp
index d4bdbd8..3842f87 100644
--- a/src/koopatlas/starcoin.cpp
+++ b/src/koopatlas/starcoin.cpp
@@ -326,10 +326,10 @@ void dWMStarCoin::setText(const char *str, const char *name) {
nw4r::ut::TextWriter tw;
tw.font = box->font;
tw.SetFontSize(box->fontSizeX, box->fontSizeY);
- tw.somethingRelatedToLineHeight = box->lineSpace;
+ tw.lineSpace = box->lineSpace;
tw.charSpace = box->charSpace;
if (box->tagProc != 0)
- tw.tagProcessorMaybe = box->tagProc;
+ tw.tagProcessor = box->tagProc;
float width = tw.CalcStringWidth(newString, wlength);
SpammyReport("Text width: %f\n", width);