From 2da42d1733744e24942857377a747576d87be1e7 Mon Sep 17 00:00:00 2001 From: Robin Stuart Date: Sun, 6 Aug 2017 07:02:07 +0100 Subject: [PATCH] fix for uninitialized variables in qzint.cpp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug found and fixed by Holger Schröder --- backend_qt/qzint.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend_qt/qzint.cpp b/backend_qt/qzint.cpp index 9aa07744..212f7966 100644 --- a/backend_qt/qzint.cpp +++ b/backend_qt/qzint.cpp @@ -44,6 +44,8 @@ namespace Zint { m_dot_size = 4.0 / 5.0; target_size_horiz = 0; target_size_vert = 0; + m_width = 0; + m_whitespace = 0; } QZint::~QZint() { @@ -689,4 +691,4 @@ namespace Zint { return m_lastError.length(); } -} \ No newline at end of file +}