[Gridflow-cvs] [svn] commit: r3515 - /trunk/base/flow_objects.rb

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Tue Apr 15 13:02:16 EDT 2008


Author: matju
Date: Tue Apr 15 13:02:15 2008
New Revision: 3515

Log:
make [plotter_control]'s print_from_ascii work outside of jmax (really!)

Modified:
    trunk/base/flow_objects.rb

Modified: trunk/base/flow_objects.rb
==============================================================================
--- trunk/base/flow_objects.rb (original)
+++ trunk/base/flow_objects.rb Tue Apr 15 13:02:15 2008
@@ -72,7 +72,7 @@
   def _0_other(command,*v) puts "#{command.to_s.upcase}#{v.join','};" end
   def _0_print(*text) puts "LB#{text.join(' ')}\003;" end
   def _0_print_from_ascii(*codes)
-    _0_print codes.map{|code| code.chr }.join("")
+    _0_print codes.map{|code| code.to_i.chr }.join("")
   end
 }
 



More information about the Gridflow-cvs mailing list