Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_text.c Log Message: - formatting =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_text.c,v retrieving revision 1.186 retrieving revision 1.187 diff -u -3 -r1.186 -r1.187 --- ewl_text.c 20 Nov 2007 02:30:09 -0000 1.186 +++ ewl_text.c 4 Dec 2007 04:51:58 -0000 1.187 @@ -612,7 +612,7 @@ /* count the number of chars in the text */ tmp = (char *)txt; max_chars = (t->length.max_chars) ? t->length.max_chars : UINT_MAX; - while (*tmp && (clen + t->length.chars) < max_chars) + while ((*tmp) && ((clen + t->length.chars) < max_chars)) { if (ewl_text_char_utf8_is(tmp)) tmp = ewl_text_text_next_char(tmp, NULL); ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs