diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-10-25 20:51:27 +0300 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-10-25 20:57:24 +0300 |
commit | 6729de49b16da9a1be3c95b146ba053bf214c91c (patch) | |
tree | a63fb29d11572779c1ba2be52178bc164a3e900f /src/core/main.cpp | |
parent | e3a1041a471aaaa3d906caeb23d1d334071978b2 (diff) |
Font: Fix text dimensions
Diffstat (limited to 'src/core/main.cpp')
-rw-r--r-- | src/core/main.cpp | 2 |
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)); |