Enlightenment CVS committal

Author  : vapier
Project : e16
Module  : epplets

Dir     : e16/epplets/epplets


Modified Files:
        E-Slides.c 


Log Message:
if we were passed invalid arguments, make sure we set cnt to 0

===================================================================
RCS file: /cvs/e/e16/epplets/epplets/E-Slides.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -3 -r1.32 -r1.33
--- E-Slides.c  13 Apr 2006 11:56:04 -0000      1.32
+++ E-Slides.c  15 Apr 2006 20:00:21 -0000      1.33
@@ -21,7 +21,7 @@
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
 
-static const char cvs_ident[] = "$Id: E-Slides.c,v 1.32 2006/04/13 11:56:04 
kwo Exp $";
+static const char cvs_ident[] = "$Id: E-Slides.c,v 1.33 2006/04/15 20:00:21 
vapier Exp $";
 
 #include <stdio.h>
 #include <sys/time.h>
@@ -94,6 +94,7 @@
   D(("dirscan(\"%s\", %8p) called.\n", dir, num));
 
   if ((!dir) || (!*dir)) {
+    *num = 0;
     return ((char **) NULL);
   }
   dirp = opendir(dir);




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to