@@ -357,15 +357,13 @@ private void data_encode_blockf() {
357
357
input_position ++;
358
358
done = true ;
359
359
}
360
-
361
360
if ((findSubset (inputData [input_position ]) == Mode .SHIFTB ) && (c == 1 )) {
362
361
/* Needs two symbols */
363
362
blockmatrix [current_row ][column_position ] = 100 ; /* Code B */
364
363
column_position ++;
365
364
c --;
366
365
done = true ;
367
366
}
368
-
369
367
if ((inputData [input_position ] >= 244 ) && (!done )) {
370
368
/* Needs three symbols */
371
369
blockmatrix [current_row ][column_position ] = 100 ; /* Code B */
@@ -378,7 +376,6 @@ private void data_encode_blockf() {
378
376
}
379
377
done = true ;
380
378
}
381
-
382
379
if ((inputData [input_position ] >= 128 ) && (!done ) && c == 1 ) {
383
380
/* Needs two symbols */
384
381
blockmatrix [current_row ][column_position ] = 100 ; /* Code B */
@@ -395,15 +392,13 @@ private void data_encode_blockf() {
395
392
input_position ++;
396
393
done = true ;
397
394
}
398
-
399
395
if ((findSubset (inputData [input_position ]) == Mode .SHIFTA ) && (c == 1 )) {
400
396
/* Needs two symbols */
401
397
blockmatrix [current_row ][column_position ] = 101 ; /* Code A */
402
398
column_position ++;
403
399
c --;
404
400
done = true ;
405
401
}
406
-
407
402
if (((inputData [input_position ] >= 128 )
408
403
&& (inputData [input_position ] <= 159 )) && (!done )) {
409
404
/* Needs three symbols */
@@ -417,7 +412,6 @@ private void data_encode_blockf() {
417
412
}
418
413
done = true ;
419
414
}
420
-
421
415
if ((inputData [input_position ] >= 160 ) && (!done ) && c == 1 ) {
422
416
/* Needs two symbols */
423
417
blockmatrix [current_row ][column_position ] = 101 ; /* Code A */
@@ -434,7 +428,6 @@ private void data_encode_blockf() {
434
428
c --;
435
429
done = true ;
436
430
}
437
-
438
431
if (((findSubset (inputData [input_position ]) == Mode .ABORC )
439
432
&& (findSubset (inputData [input_position + 1 ]) != Mode .ABORC ))
440
433
&& (c == 1 )) {
@@ -444,7 +437,6 @@ private void data_encode_blockf() {
444
437
c --;
445
438
done = true ;
446
439
}
447
-
448
440
if (inputData [input_position ] >= 128 ) {
449
441
/* Needs three symbols */
450
442
blockmatrix [current_row ][column_position ] = 101 ; /* Code A */
@@ -455,6 +447,7 @@ private void data_encode_blockf() {
455
447
column_position ++;
456
448
c --;
457
449
}
450
+ done = true ;
458
451
}
459
452
break ;
460
453
}
@@ -587,7 +580,7 @@ private void data_encode_blockf() {
587
580
c --;
588
581
if (inputData [input_position ] >= 128 ) {
589
582
/* Extended ASCII character */
590
- blockmatrix [current_row ][column_position ] = 100 ; /* FNC4 */
583
+ blockmatrix [current_row ][column_position ] = 101 ; /* FNC4 */
591
584
column_position ++;
592
585
c --;
593
586
}
@@ -602,7 +595,7 @@ private void data_encode_blockf() {
602
595
c --;
603
596
if (inputData [input_position ] >= 128 ) {
604
597
/* Extended ASCII character */
605
- blockmatrix [current_row ][column_position ] = 100 ; /* FNC4 */
598
+ blockmatrix [current_row ][column_position ] = 101 ; /* FNC4 */
606
599
column_position ++;
607
600
c --;
608
601
}
@@ -632,7 +625,7 @@ private void data_encode_blockf() {
632
625
c --;
633
626
if (inputData [input_position ] >= 128 ) {
634
627
/* Extended ASCII character */
635
- blockmatrix [current_row ][column_position ] = 101 ; /* FNC4 */
628
+ blockmatrix [current_row ][column_position ] = 100 ; /* FNC4 */
636
629
column_position ++;
637
630
c --;
638
631
}
@@ -647,7 +640,7 @@ private void data_encode_blockf() {
647
640
c --;
648
641
if (inputData [input_position ] >= 128 ) {
649
642
/* Extended ASCII character */
650
- blockmatrix [current_row ][column_position ] = 101 ; /* FNC4 */
643
+ blockmatrix [current_row ][column_position ] = 100 ; /* FNC4 */
651
644
column_position ++;
652
645
c --;
653
646
}
0 commit comments