Enlightenment CVS committal

Author  : codewarrior
Project : e17
Module  : apps/exhibit

Dir     : e17/apps/exhibit/src/bin


Modified Files:
        exhibit_comment.c exhibit_main.c 


Log Message:
fixes from andre

===================================================================
RCS file: /cvs/e/e17/apps/exhibit/src/bin/exhibit_comment.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- exhibit_comment.c   1 Sep 2006 23:39:22 -0000       1.12
+++ exhibit_comment.c   10 Jul 2007 07:49:54 -0000      1.13
@@ -70,8 +70,8 @@
 _ex_comment_load(Exhibit *e)
 {
    char *file;
-   char *comment;
-   unsigned int len;
+   char *comment = NULL;
+   unsigned int len = 0;
 
    file = ((Ex_Tab *) e->cur_tab)->cur_file;
    if (_ex_file_is_jpg(file))
===================================================================
RCS file: /cvs/e/e17/apps/exhibit/src/bin/exhibit_main.c,v
retrieving revision 1.114
retrieving revision 1.115
diff -u -3 -r1.114 -r1.115
--- exhibit_main.c      9 Jul 2007 23:50:41 -0000       1.114
+++ exhibit_main.c      10 Jul 2007 07:49:54 -0000      1.115
@@ -890,7 +890,9 @@
    char *homedir;
    const char **dnd_types;
    int dnd_types_num;
-   
+  
+   memset(file, 0, PATH_MAX);
+
    e = calloc(1, sizeof(Exhibit));
    e->mouse.down = 0;
    e->menu = NULL;



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to