From: Pierre Habouzit (MadCoder Date: Wed, 29 Dec 2004 18:23:11 +0000 (+0000) Subject: was too strict X-Git-Tag: xorg/old~568 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=92da9e903baa36298984cc8578d32b45b8406469;p=platal.git was too strict git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-180 --- diff --git a/include/contacts.pdf.inc.php b/include/contacts.pdf.inc.php index 9a2342c..38352d8 100644 --- a/include/contacts.pdf.inc.php +++ b/include/contacts.pdf.inc.php @@ -252,7 +252,7 @@ class ContactsPDF extends FPDF } else { $this->setX($_x); $this->Cell($width, 20, '', "T"); - $h = ( $this->GetStringWidth($nom) + $width > 90 ) ? 10 : 20; + $h = ( $this->GetStringWidth($nom) + $width > 85 ) ? 10 : 20; $this->MultiCell(0, $h, $nom, 'T', 'C'); $ok = true; }