summaryrefslogtreecommitdiff
path: root/src/core/main.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2020-10-25 20:51:27 +0300
committererorcun <erorcunerorcun@hotmail.com.tr>2020-10-25 20:57:24 +0300
commit6729de49b16da9a1be3c95b146ba053bf214c91c (patch)
treea63fb29d11572779c1ba2be52178bc164a3e900f /src/core/main.cpp
parente3a1041a471aaaa3d906caeb23d1d334071978b2 (diff)
Font: Fix text dimensions
Diffstat (limited to 'src/core/main.cpp')
-rw-r--r--src/core/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp
index b6a32b55..18ee2dc5 100644
--- a/src/core/main.cpp
+++ b/src/core/main.cpp
@@ -841,7 +841,7 @@ DisplayGameDebugText()
CFont::SetRightJustifyOff();
CFont::SetJustifyOff();
CFont::SetBackGroundOnlyTextOff();
- CFont::SetWrapx(640.0f);
+ CFont::SetWrapx(SCREEN_WIDTH);
CFont::SetFontStyle(FONT_HEADING);
CFont::SetColor(CRGBA(0, 0, 0, 255));