Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        E.h text.c 


Log Message:
Really trivial stuff.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/E.h,v
retrieving revision 1.269
retrieving revision 1.270
diff -u -3 -r1.269 -r1.270
--- E.h 22 May 2004 19:31:11 -0000      1.269
+++ E.h 22 May 2004 23:08:20 -0000      1.270
@@ -2626,7 +2626,6 @@
                                 const char *string, int len);
 TextState          *TextGetState(TextClass * tclass, int active, int sticky,
                                 int state);
-char              **TextGetLines(const char *text, int *count);
 void                TextStateLoadFont(TextState * ts);
 void                TextSize(TextClass * tclass, int active, int sticky,
                             int state, const char *text, int *width,
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/text.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -3 -r1.37 -r1.38
--- text.c      22 May 2004 16:37:50 -0000      1.37
+++ text.c      22 May 2004 23:08:20 -0000      1.38
@@ -131,7 +131,7 @@
    EDBUG_RETURN(NULL);
 }
 
-char              **
+static char       **
 TextGetLines(const char *text, int *count)
 {
    int                 i, j, k;
@@ -264,15 +264,20 @@
    TextState          *ts;
 
    EDBUG(4, "TextSize");
+
    *width = 0;
    *height = 0;
+
    lines = TextGetLines(text, &num_lines);
    if (!lines)
       EDBUG_RETURN_;
+
    ts = TextGetState(tclass, active, sticky, state);
    if (!ts)
       EDBUG_RETURN_;
+
    TextStateLoadFont(ts);
+
 #if USE_FNLIB
    if (ts->font)
      {




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to