parent
3456c9dff2
commit
0183b727d0
|
@ -5,6 +5,7 @@
|
|||
* fixed small leak in e_import_config_dialog_show during failure case
|
||||
* fixed small leak in e_import_dialog_show during failure case
|
||||
* fixed small leak in illume2 policy config
|
||||
* fixed path setting in import dialog
|
||||
|
||||
2013-01-22 Mike Blumenkrantz
|
||||
|
||||
|
|
1
NEWS
1
NEWS
|
@ -116,3 +116,4 @@ Fixes:
|
|||
* fixed small leak in e_import_config_dialog_show during failure case
|
||||
* fixed small leak in e_import_dialog_show during failure case
|
||||
* fixed small leak in illume2 policy config
|
||||
* fixed path setting in import dialog
|
||||
|
|
|
@ -165,15 +165,13 @@ e_import_dialog_show(E_Container *con, const char *dev, const char *path, Ecore_
|
|||
fpath = path ? : e_config->wallpaper_import_last_path;
|
||||
if (fdev)
|
||||
snprintf(buf, sizeof(buf), "%s/%s",
|
||||
fdev, path);
|
||||
fdev, fpath);
|
||||
else
|
||||
snprintf(buf, sizeof(buf), "%s", path);
|
||||
snprintf(buf, sizeof(buf), "%s", fpath);
|
||||
|
||||
rpath = ecore_file_realpath(buf);
|
||||
if (!ecore_file_exists(rpath))
|
||||
fpath = "/";
|
||||
else
|
||||
fpath = path ? : e_config->wallpaper_import_last_path;
|
||||
free(rpath);
|
||||
|
||||
if ((!fdev) && (!fpath))
|
||||
|
|
Loading…
Reference in New Issue