Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/evas
Dir : e17/libs/evas/src/lib/canvas
Modified Files:
evas_object_textblock.c
Log Message:
fix some native size stuff...
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/evas/src/lib/canvas/evas_object_textblock.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -3 -r1.41 -r1.42
--- evas_object_textblock.c 18 Feb 2005 09:44:27 -0000 1.41
+++ evas_object_textblock.c 19 Feb 2005 05:07:11 -0000 1.42
@@ -177,6 +177,7 @@
layout->line.advance = 0;
layout->align = 0.0;
layout->valign = -1.0;
+ layout->style = STYLE_PLAIN;
layout->word_wrap = 0;
layout->underline = 0;
layout->second_underline = 0;
@@ -836,7 +837,10 @@
fw = layout.line.x + hadvance;
layout.line.x += hadvance;
lnode->layout.line.advance = hadvance;
- if (layout.line.x >= ww) goto newline;
+ if (w > 0)
+ {
+ if (layout.line.x >= ww) goto newline;
+ }
}
else
{
@@ -1178,6 +1182,7 @@
o->native.w = fw;
o->native.h = fh;
o->native.lines = lines;
+ o->native.dirty = 0;
}
static Node *
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs