[drraw-users] Shift?

Christophe Kalt kalt at taranis.org
Tue May 29 22:03:59 EDT 2007


On May 16, Joel Krauska wrote:
| I can't find any options to use SHIFT in drraw.

Okay, if you apply the attached diff to 2.2a3, you will get a
working SHIFT.  But i don't think i'm quite happy with the way
this is done so i'm likely to change it.

In the meantime, this will give you something to play with.

Christophe
-------------- next part --------------
Index: drraw.cgi
===================================================================
RCS file: /home/cvs/drraw/drraw.cgi,v
retrieving revision 1.224
diff -u -r1.224 drraw.cgi
--- drraw.cgi	19 May 2007 22:14:36 -0000	1.224
+++ drraw.cgi	30 May 2007 02:00:55 -0000
@@ -2888,7 +2888,7 @@
                 if ( param("${ds}_CDEF") eq '' );
         }
         param(-name=>"${ds}_Color", -value=>'White')
-            if ( param("${ds}_Type") =~ /(PRINT|COMMENT|-Nothing-)/ );
+            if ( param("${ds}_Type") =~ /(SHIFT|PRINT|COMMENT|-Nothing-)/ );
         param(-name=>"${ds}_Width", -value=>'')
             unless ( defined(param("${ds}_Width")) );
         param(-name=>"${ds}_tWidth", -value=>'')


More information about the drraw-users mailing list