Enlightenment CVS committal Author : englebass Project : e17 Module : apps/e
Dir : e17/apps/e/src/modules/battery Modified Files: e_mod_main.c Log Message: Check if we still are within the string. =================================================================== RCS file: /cvs/e/e17/apps/e/src/modules/battery/e_mod_main.c,v retrieving revision 1.93 retrieving revision 1.94 diff -u -3 -r1.93 -r1.94 --- e_mod_main.c 30 Dec 2006 23:32:24 -0000 1.93 +++ e_mod_main.c 24 Mar 2007 15:07:55 -0000 1.94 @@ -1358,7 +1358,7 @@ p++; while (*p == ' ') p++; q = p; - while ((*q != ' ') && (*q != '\n')) q++; + while ((*q) && (*q != ' ') && (*q != '\n')) q++; if (q) *q = 0; return strdup(p); } ------------------------------------------------------------------------- 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