Code Duplication    Length = 6-6 lines in 2 locations

includes/libraries/Pdf/Tfpdf/tfpdf.class.php 2 locations

@@ 887-892 (lines=6) @@
884
    while ($i < $nb)
885
    {
886
        // Get next character
887
        if ($this->unifontSubset) {
888
            $c = mb_substr($s, $i, 1, 'UTF-8');
889
        }
890
        else {
891
            $c = $s[$i];
892
        }
893
        if ($c == "\n")
894
        {
895
            // Explicit line break
@@ 1014-1019 (lines=6) @@
1011
    while ($i < $nb)
1012
    {
1013
        // Get next character
1014
        if ($this->unifontSubset) {
1015
            $c = mb_substr($s, $i, 1, 'UTF-8');
1016
        }
1017
        else {
1018
            $c = $s[$i];
1019
        }
1020
        if ($c == "\n")
1021
        {
1022
            // Explicit line break