Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        text.c 


Log Message:
Oops - took the wrong patch.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/text.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- text.c      15 Nov 2003 21:40:38 -0000      1.24
+++ text.c      15 Nov 2003 21:53:21 -0000      1.25
@@ -202,6 +202,7 @@
                  XFreeStringList(missing_list);
                  /* EDBUG_RETURN_; */
               }
+
             if (!ts->xfontset)
               {
                  ts->xfontset =
@@ -210,12 +211,15 @@
                  if (missing_cnt)
                     XFreeStringList(missing_list);
               }
-            EDBUG_RETURN_;
 
-            ts->xfontset_ascent = 0;
-            font_cnt = XFontsOfFontSet(ts->xfontset, &fs, &fn);
-            for (i = 0; i < font_cnt; i++)
-               ts->xfontset_ascent = MAX(fs[i]->ascent, ts->xfontset_ascent);
+            if (ts->xfontset)
+              {
+                 ts->xfontset_ascent = 0;
+                 font_cnt = XFontsOfFontSet(ts->xfontset, &fs, &fn);
+                 for (i = 0; i < font_cnt; i++)
+                    ts->xfontset_ascent =
+                       MAX(fs[i]->ascent, ts->xfontset_ascent);
+              }
          }
        if (!ts->xfont)
           ts->xfont = XLoadQueryFont(disp, "fixed");




-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to