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 fallback handling! :)

===================================================================
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/lib/canvas/evas_object_textblock.c,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -3 -r1.108 -r1.109
--- evas_object_textblock.c     20 Sep 2005 16:59:39 -0000      1.108
+++ evas_object_textblock.c     22 Sep 2005 03:00:48 -0000      1.109
@@ -1047,7 +1047,7 @@
        else if (fmt->font.name)
          buf = strdup(fmt->font.name);
        fmt->font.font = evas_font_load(obj->layer->evas, 
-                                       fmt->font.name, fmt->font.source, 
+                                       buf, fmt->font.source, 
                                        fmt->font.size);
        if (buf) free(buf);
        if (of) evas_font_free(obj->layer->evas, of);
@@ -1171,7 +1171,7 @@
    else if (fmt2->font.name)
      buf = strdup(fmt2->font.name);
    fmt2->font.font = evas_font_load(obj->layer->evas, 
-                                  fmt2->font.name, fmt2->font.source,
+                                  buf, fmt2->font.source,
                                   fmt2->font.size);
    if (buf) free(buf);
    return fmt2;




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to