summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/render/Font.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Font.cpp b/src/render/Font.cpp
index 787a0c40..b6ae601f 100644
--- a/src/render/Font.cpp
+++ b/src/render/Font.cpp
@@ -468,7 +468,7 @@ bool CFont::IsAnsiCharacter(wchar *s)
void
CFont::PrintString(float xstart, float ystart, wchar *s)
{
- CRect rect;
+ CRect rect(1000000.0f, -1000000.0f, 1000000.0f, -1000000.0f);
int numSpaces;
float lineLength;
float x, y;