diff options
author | Eugene Sandulenko | 2017-08-02 11:20:35 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-08-04 21:54:19 +0200 |
commit | a95899c1b65c1558e4f23ab9cbdb315270a152c2 (patch) | |
tree | f5b38f15de487f7e7c7dcf391eb884d1115f64d8 /graphics | |
parent | cb48575c91071421f89ea394094072995a6e2c9b (diff) | |
download | scummvm-rg350-a95899c1b65c1558e4f23ab9cbdb315270a152c2.tar.gz scummvm-rg350-a95899c1b65c1558e4f23ab9cbdb315270a152c2.tar.bz2 scummvm-rg350-a95899c1b65c1558e4f23ab9cbdb315270a152c2.zip |
GRAPHICS: MACGUI: Fix formatting of the first added text in MacText
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/macgui/mactext.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp index 3c410f6529..75d41e08ea 100644 --- a/graphics/macgui/mactext.cpp +++ b/graphics/macgui/mactext.cpp @@ -74,7 +74,8 @@ MacText::MacText(Common::String s, MacWindowManager *wm, const MacFont *macFont, _currentFormatting = _defaultFormatting; - splitString(_str); + if (!_str.empty()) + splitString(_str); recalcDims(); |