Commit b6efa77e authored by Olivier Goffart's avatar Olivier Goffart
Browse files

Fix use of unitialized memory

parent 9d63e4a6
...@@ -400,6 +400,7 @@ BaseTextDocumentLayout::BaseTextDocumentLayout(QTextDocument *doc) ...@@ -400,6 +400,7 @@ BaseTextDocumentLayout::BaseTextDocumentLayout(QTextDocument *doc)
:QPlainTextDocumentLayout(doc) { :QPlainTextDocumentLayout(doc) {
lastSaveRevision = 0; lastSaveRevision = 0;
hasMarks = 0; hasMarks = 0;
m_requiredWidth = 0;
} }
BaseTextDocumentLayout::~BaseTextDocumentLayout() BaseTextDocumentLayout::~BaseTextDocumentLayout()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment