Code Duplication    Length = 9-9 lines in 2 locations

lib/FPDF/src/fpdf.php 1 location

@@ 645-653 (lines=9) @@
642
	if($s)
643
		$this->_out($s);
644
	$this->lasth = $h;
645
	if($ln>0)
646
	{
647
		// Go to next line
648
		$this->y += $h;
649
		if($ln==1)
650
			$this->x = $this->lMargin;
651
	}
652
	else
653
		$this->x += $w;
654
}
655
656
function MultiCell($w, $h, $txt, $border=0, $align='J', $fill=false)

ufpdf/ufpdf.php 1 location

@@ 156-164 (lines=9) @@
153
  if($s)
154
    $this->_out($s);
155
  $this->lasth=$h;
156
  if($ln>0)
157
  {
158
    //Go to next line
159
    $this->y+=$h;
160
    if($ln==1)
161
      $this->x=$this->lMargin;
162
  }
163
  else
164
    $this->x+=$w;
165
}
166
167
/*******************************************************************************