Return to convertjme.pl CVS log | Up to [LON-CAPA] / loncom / homework |
version 1.10, 2005/01/25 14:55:15 | version 1.11, 2005/01/31 21:55:44 |
---|---|
Line 552 sub printCharge_png { | Line 552 sub printCharge_png { |
my ($sign,$charge,$x,$y) = @_; | my ($sign,$charge,$x,$y) = @_; |
my $yy = 662; | my $yy = 662; |
$sign = "–" if ($sign eq "-"); # replace by n-dash | $sign = "−" if ($sign eq "-"); # replace by n-dash |
$charge = "" if ($charge == 1); | $charge = "" if ($charge == 1); |
$charge .= $sign; | $charge .= $sign; |