Deleted comment and calculated the constant in QrCode.getNumRawDataModules() in all language versions except Java, because only the Java code explains the calculation in detail.

This commit is contained in:
Project Nayuki
2018-08-28 03:53:17 +00:00
parent f83f201b8d
commit e7d2449957
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -515,7 +515,7 @@ class QrCode(object):
numalign = ver // 7 + 2
result -= (25 * numalign - 10) * numalign - 55
if ver >= 7:
result -= 18 * 2 # Subtract version information
result -= 36
return result