summaryrefslogtreecommitdiffstats
path: root/src/libnrtype
diff options
context:
space:
mode:
Diffstat (limited to 'src/libnrtype')
-rw-r--r--src/libnrtype/Layout-TNG.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libnrtype/Layout-TNG.cpp b/src/libnrtype/Layout-TNG.cpp
index e937e9da9..f31dc9d02 100644
--- a/src/libnrtype/Layout-TNG.cpp
+++ b/src/libnrtype/Layout-TNG.cpp
@@ -17,9 +17,10 @@ namespace Text {
const gunichar Layout::UNICODE_SOFT_HYPHEN = 0x00AD;
const double Layout::LINE_HEIGHT_NORMAL = 1.25;
-Layout::Layout() :
- _input_truncated(false),
- _path_fitted(nullptr)
+Layout::Layout()
+ : _input_truncated(false)
+ , _path_fitted(nullptr)
+ , wrap_mode(WRAP_NONE)
{
textLength._set = false;
textLengthMultiplier = 1;