Updated comments in drawFunctionPatterns() of all other language versions to synchronize with C code.

This commit is contained in:
Project Nayuki
2017-04-20 06:39:59 +00:00
parent 9a100aed7d
commit 2ffc439340
4 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -334,7 +334,7 @@ public final class QrCode {
/*---- Private helper methods for constructor: Drawing function modules ----*/
private void drawFunctionPatterns() {
// Draw the horizontal and vertical timing patterns
// Draw horizontal and vertical timing patterns
for (int i = 0; i < size; i++) {
setFunctionModule(6, i, i % 2 == 0);
setFunctionModule(i, 6, i % 2 == 0);
@@ -345,7 +345,7 @@ public final class QrCode {
drawFinderPattern(size - 4, 3);
drawFinderPattern(3, size - 4);
// Draw the numerous alignment patterns
// Draw numerous alignment patterns
int[] alignPatPos = getAlignmentPatternPositions(version);
int numAlign = alignPatPos.length;
for (int i = 0; i < numAlign; i++) {