$NetBSD: patch-ac,v 1.1.1.1 2001/03/30 00:25:20 hubertf Exp $ --- kchart/enginepie.cc.orig Fri Oct 13 15:08:28 2000 +++ kchart/enginepie.cc @@ -701,7 +701,7 @@ if( !params->legend[i].isNull() ) { - QRect br = QFontMetrics( params->labelFont() ).boundingRect( 0, 0, MAXINT, MAXINT, slice_angle[i][0] <= M_PI ? + QRect br = QFontMetrics( params->labelFont() ).boundingRect( 0, 0, INT_MAX, INT_MAX, slice_angle[i][0] <= M_PI ? Qt::AlignLeft : Qt::AlignRight, params->legend[i] ); p->setPen( LineColor); p->setFont( params->labelFont() );