Skip to content

Commit

Permalink
Remove pointless assignments (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
vobruba-martin committed Apr 6, 2021
1 parent c979d00 commit cf8a66c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tcpdf.php
Expand Up @@ -6716,22 +6716,17 @@ public function Write($h, $txt, $link='', $fill=false, $align='', $ln=false, $st
switch ($align) {
case 'J':
case 'C': {
$w = $w;
break;
}
case 'L': {
if ($this->rtl) {
$w = $w;
} else {
if (!$this->rtl) {
$w = $l;
}
break;
}
case 'R': {
if ($this->rtl) {
$w = $l;
} else {
$w = $w;
}
break;
}
Expand Down

0 comments on commit cf8a66c

Please sign in to comment.