[LON-CAPA-cvs] cvs: loncom /homework convertjme.pl

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 31 Jan 2005 21:55:44 -0000


albertel		Mon Jan 31 16:55:44 2005 EDT

  Modified files:              
    /loncom/homework	convertjme.pl 
  Log:
  - part of BUG#3857
  
  
Index: loncom/homework/convertjme.pl
diff -u loncom/homework/convertjme.pl:1.10 loncom/homework/convertjme.pl:1.11
--- loncom/homework/convertjme.pl:1.10	Tue Jan 25 09:55:15 2005
+++ loncom/homework/convertjme.pl	Mon Jan 31 16:55:44 2005
@@ -2,7 +2,7 @@
 # The LearningOnline Network with CAPA
 # Dynamically converts JME strings into either a png or ps file.
 #
-# $Id: convertjme.pl,v 1.10 2005/01/25 14:55:15 albertel Exp $
+# $Id: convertjme.pl,v 1.11 2005/01/31 21:55:44 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -552,7 +552,7 @@
     my ($sign,$charge,$x,$y) = @_;
     my $yy = 662;
 
-    $sign = "–" if ($sign eq "-");  # replace by n-dash
+    $sign = "−" if ($sign eq "-");  # replace by n-dash
     $charge = "" if ($charge == 1);
     $charge .= $sign;