Patched library to solve some infinite loops in static graphics Tickets #3438

This commit is contained in:
fermin831 2016-05-11 10:23:35 +02:00
parent fdb8d7e963
commit 923091f972
1 changed files with 1 additions and 0 deletions

View File

@ -1850,6 +1850,7 @@
$Data["Axis"][$AxisID]["Min"] = $AxisMin-$AutoMargin; $Data["Axis"][$AxisID]["Max"] = $AxisMax+$AutoMargin; $Data["Axis"][$AxisID]["Min"] = $AxisMin-$AutoMargin; $Data["Axis"][$AxisID]["Max"] = $AxisMax+$AutoMargin;
} }
$MaxDivs = floor($Height/$MinDivHeight); $MaxDivs = floor($Height/$MinDivHeight);
if ($MaxDivs == 0) { $MaxDivs = 1;}
if ( $Mode == SCALE_MODE_ADDALL_START0 ) { $Data["Axis"][$AxisID]["Min"] = 0; } if ( $Mode == SCALE_MODE_ADDALL_START0 ) { $Data["Axis"][$AxisID]["Min"] = 0; }