Enlightenment CVS committal

Author  : leviathan
Project : e17
Module  : apps/exhibit

Dir     : e17/apps/exhibit/src/bin


Modified Files:
        exhibit_image.c 


Log Message:
Fix file delete issue

===================================================================
RCS file: /cvs/e/e17/apps/exhibit/src/bin/exhibit_image.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -3 -r1.54 -r1.55
--- exhibit_image.c     3 Sep 2007 16:43:16 -0000       1.54
+++ exhibit_image.c     5 Sep 2007 10:36:05 -0000       1.55
@@ -768,7 +768,7 @@
    char string[PATH_MAX];
    int ret;
 
-   snprintf(string, sizeof(string), "%s%s", tab->set_img_path, tab->cur_file);
+   snprintf(string, sizeof(string), "%s", tab->cur_file);
 
    ret = remove(string);
    if (ret == -1) 
@@ -806,8 +806,8 @@
    char string[PATH_MAX];
 
    snprintf(string, sizeof(string),
-        "Are you sure you want to delete this image? <br>%s%s<br> ", 
-        tab->set_img_path, tab->cur_file);
+        "Are you sure you want to delete this image? <br>%s<br> ", 
+        tab->cur_file);
 
    tab->dialog = etk_message_dialog_new(ETK_MESSAGE_DIALOG_QUESTION, 
         ETK_MESSAGE_DIALOG_OK_CANCEL, 



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to