diff options
author | Paul Gilbert | 2017-12-03 21:58:36 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-12-03 21:58:36 -0500 |
commit | 341c6a95e3e86a83d7e5e569420064bd231e2ae0 (patch) | |
tree | 0de16af1da30e76b96e925a0742a816061ed0fdc /engines/xeen/font.cpp | |
parent | 9ba9265583beb24ce4a845541a4cec6529c27a25 (diff) | |
download | scummvm-rg350-341c6a95e3e86a83d7e5e569420064bd231e2ae0.tar.gz scummvm-rg350-341c6a95e3e86a83d7e5e569420064bd231e2ae0.tar.bz2 scummvm-rg350-341c6a95e3e86a83d7e5e569420064bd231e2ae0.zip |
XEEN: Fix Coverity warnings
Diffstat (limited to 'engines/xeen/font.cpp')
-rw-r--r-- | engines/xeen/font.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/xeen/font.cpp b/engines/xeen/font.cpp index 2a19a770f9..1d7dab7e21 100644 --- a/engines/xeen/font.cpp +++ b/engines/xeen/font.cpp @@ -33,11 +33,12 @@ byte FontData::_bgColor; bool FontData::_fontReduced; Justify FontData::_fontJustify; -FontSurface::FontSurface() : XSurface() { +FontSurface::FontSurface() : XSurface(), _msgWraps(false), _displayString(nullptr) { setTextColor(0); } -FontSurface::FontSurface(int wv, int hv) : XSurface(wv, hv), _msgWraps(false), _displayString(nullptr) { +FontSurface::FontSurface(int wv, int hv) : XSurface(wv, hv), + _msgWraps(false), _displayString(nullptr) { create(w, h); setTextColor(0); } |