mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Resolve further error message and warning idiosyncrasies
This commit is contained in:
@ -279,7 +279,7 @@ namespace Zint {
|
||||
strcpy(m_zintSymbol->fgcolour, fgcol.data());
|
||||
strcpy(m_zintSymbol->bgcolour, bgcol.data());
|
||||
m_error = ZBarcode_Encode_and_Print(m_zintSymbol, (unsigned char*) bstr.data(), bstr.length(), 0);
|
||||
if (m_error != 0) {
|
||||
if (m_error >= 5) {
|
||||
m_lastError = m_zintSymbol->errtxt;
|
||||
return false;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user