Autorovi uz jsem o te chybe psal pred rokem, ale evidentne na to prdi.
Vygeneroval jsem diff, ale nejsem si jisty, ze je vygenerovany spravne (diffum moc nerozumim) a take jsou tam nejake podivne znaky a nejsem si jisty, ze to spravne projde.
Kód: Vybrat vše
--- l:\temp\xx\qrcode.pm Sat Mar 08 16:13:14 2008
+++ qrcode.pm Sun Jul 10 17:17:04 2011
@@ -110,7 +110,9 @@
$aDatBit[$iDatCnt] = $iMaxDatBits-$iTotalBits;
}
elsif ($iTotalBits > $iMaxDatBits){
- die "Overflow error. version $oSelf->{Version}\n" .
+# die "Overflow error. version $oSelf->{Version}\n" .
+# "total bits: $iTotalBits max bits: $iMaxDatBits\n";
+ return "Overflow error. version $oSelf->{Version}\n" .
"total bits: $iTotalBits max bits: $iMaxDatBits\n";
}
# 8rbg’PĘ‚É•ŞŠ„
Kód: Vybrat vše
elsif ($iTotalBits > $iMaxDatBits){
die "Overflow error. version $oSelf->{Version}\n" .
"total bits: $iTotalBits max bits: $iMaxDatBits\n";
}Kód: Vybrat vše
elsif ($iTotalBits > $iMaxDatBits){
# die "Overflow error. version $oSelf->{Version}\n" .
# "total bits: $iTotalBits max bits: $iMaxDatBits\n";
return "Overflow error. version $oSelf->{Version}\n" .
"total bits: $iTotalBits max bits: $iMaxDatBits\n";
}