Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/etox

Dir     : e17/libs/etox/src


Modified Files:
        etox.c etox_line.c 


Log Message:
Remove the debugging output.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/etox/src/etox.c,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -3 -r1.70 -r1.71
--- etox.c      28 Feb 2004 07:14:57 -0000      1.70
+++ etox.c      16 Mar 2004 14:28:55 -0000      1.71
@@ -1146,11 +1146,13 @@
                        etox_line_append(line, bit);
                        evas_object_show(bit);
 
+                       /*
+                        * Only create one line for a \r\n combination.
+                        */
                        *walk = t;
-                       if (*walk == '\r')
-                               text = walk + 2;
-                       else
-                               text = walk + 1;
+                       text = walk + 1;
+                       if (*walk == '\r' && *text == '\n')
+                               text++;
 
                        /*
                         * Create a new line for the next text
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/etox/src/etox_line.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -3 -r1.33 -r1.34
--- etox_line.c 16 Mar 2004 04:54:47 -0000      1.33
+++ etox_line.c 16 Mar 2004 14:28:55 -0000      1.34
@@ -197,8 +197,6 @@
        if (!line->bits)
                return;
 
-       etox_line_print_bits(line);
-
        /*
         * Determine the horizontal alignment of the text and set the starting
         * x coordinate appropriately.
@@ -498,7 +496,7 @@
        }
 
        /*
-        * move the remaining bits to the new line
+        * Move the remaining bits to the new line
         */
        while (ll) {
                /*




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to