mirror of https://github.com/status-im/qzxing.git
Finally the barcode encoding for Qr Codes has beed fixed. Thanks to this commit da544f639d
i have seen the error. Thank you @niallfraser!
This commit is contained in:
parent
8d6d5b20d1
commit
f4740d6e44
|
@ -59,7 +59,7 @@ int ECBlocks::getECCodewordsPerBloc()
|
|||
|
||||
int ECBlocks::getTotalECCodewords()
|
||||
{
|
||||
return ecBlocks_.size();
|
||||
return ecCodewordsPerBloc_ * ecBlocks_.size();
|
||||
}
|
||||
|
||||
std::vector<ECB*>& ECBlocks::getECBlocks() {
|
||||
|
|
|
@ -221,7 +221,6 @@ int Encoder::chooseMaskPattern(Ref<BitArray> bits,
|
|||
minPenalty = penalty;
|
||||
bestMaskPattern = maskPattern;
|
||||
}
|
||||
std::cout << std::string("i: ") << maskPattern << std::string(", penantly: ") << penalty << std::endl;
|
||||
}
|
||||
return bestMaskPattern;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue