fix for uninitialized variables in qzint.cpp

Bug found and fixed by Holger Schröder <holger@holgis.net>
This commit is contained in:
Robin Stuart 2017-08-06 07:02:07 +01:00
parent 608b4b9134
commit 2da42d1733

View File

@ -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();
}
}
}