Enlightenment CVS committal Author : ningerso Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_widget.c Log Message: Only need to compare two characters at most for the trailing colon. =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_widget.c,v retrieving revision 1.93 retrieving revision 1.94 diff -u -3 -r1.93 -r1.94 --- ewl_widget.c 2 Aug 2006 00:40:48 -0000 1.93 +++ ewl_widget.c 4 Aug 2006 03:30:33 -0000 1.94 @@ -1599,7 +1599,7 @@ /* while the type still matches the current part of * the string */ - while ((*(type + count) == *end) && (*end != ':')) + while ((*end != ':') && (*(type + count) == *end)) { count ++; end ++; @@ -1614,7 +1614,7 @@ /* move to the next set of :s and then move past it */ while ((*end != '\0') && (*end != ':')) end ++; - while (*end == ':') end ++; + if ((*end == ':') && (*(++end) == ':')) end++; } } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs