Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : libs/engrave

Dir     : e17/libs/engrave/src/lib


Modified Files:
        engrave_out.c engrave_part_state.c 


Log Message:
Handle fills without a type

===================================================================
RCS file: /cvs/e/e17/libs/engrave/src/lib/engrave_out.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -3 -r1.42 -r1.43
--- engrave_out.c       29 Jul 2007 14:48:30 -0000      1.42
+++ engrave_out.c       29 Jul 2007 15:05:51 -0000      1.43
@@ -628,7 +628,8 @@
           if (smooth != 1)
               engrave_out_data(out, "smooth", "%d", smooth);
 
-         engrave_out_data(out, "type", "%s", _fill_type_string[type]);
+         if (type >= 0)
+             engrave_out_data(out, "type", "%s", _fill_type_string[type]);
 
           if ((orig_x != 0.0) || (orig_y != 0.0) 
                   || (orig_off_x != 0) || (orig_off_y != 0))
===================================================================
RCS file: /cvs/e/e17/libs/engrave/src/lib/engrave_part_state.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- engrave_part_state.c        8 Jul 2007 07:26:40 -0000       1.23
+++ engrave_part_state.c        29 Jul 2007 15:05:51 -0000      1.24
@@ -33,7 +33,7 @@
   state->rel2.offset.x = -1;
   state->rel2.offset.y = -1;
   state->fill.smooth = 1;
-  state->fill.type = 0;
+  state->fill.type = -1;
   state->fill.pos_rel.x = 0.0;
   state->fill.pos_abs.x = 0;
   state->fill.rel.x = 1.0;



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to