summaryrefslogtreecommitdiffstats
path: root/src/render/Font.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-09-27 18:21:16 +0200
committereray orçunus <erayorcunus@gmail.com>2020-09-27 18:22:21 +0200
commit70aac0f460a9e57956de00ae5d84d8bb4bf4643c (patch)
tree92e3d8073b6e9e4ad8ae3ee7d8a2460c7e079cca /src/render/Font.cpp
parentFixes (diff)
downloadre3-70aac0f460a9e57956de00ae5d84d8bb4bf4643c.tar
re3-70aac0f460a9e57956de00ae5d84d8bb4bf4643c.tar.gz
re3-70aac0f460a9e57956de00ae5d84d8bb4bf4643c.tar.bz2
re3-70aac0f460a9e57956de00ae5d84d8bb4bf4643c.tar.lz
re3-70aac0f460a9e57956de00ae5d84d8bb4bf4643c.tar.xz
re3-70aac0f460a9e57956de00ae5d84d8bb4bf4643c.tar.zst
re3-70aac0f460a9e57956de00ae5d84d8bb4bf4643c.zip
Diffstat (limited to 'src/render/Font.cpp')
-rw-r--r--src/render/Font.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/Font.cpp b/src/render/Font.cpp
index de7de81a..58e44a5b 100644
--- a/src/render/Font.cpp
+++ b/src/render/Font.cpp
@@ -244,8 +244,8 @@ CFont::Initialise(void)
SetColor(CRGBA(0xFF, 0xFF, 0xFF, 0));
SetJustifyOff();
SetCentreOff();
- SetWrapx(DEFAULT_SCREEN_WIDTH);
- SetCentreSize(DEFAULT_SCREEN_WIDTH);
+ SetWrapx(SCREEN_STRETCH_X(DEFAULT_SCREEN_WIDTH));
+ SetCentreSize(SCREEN_STRETCH_X(DEFAULT_SCREEN_WIDTH));
SetBackgroundOff();
SetBackgroundColor(CRGBA(0x80, 0x80, 0x80, 0x80));
SetBackGroundOnlyTextOff();