[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [E-devel] A fix for a bug in handling special characters in wallpaper files
Here is a unified diff..
> Could you please send a unified diff over cvs(cvs diff -u > file.diff) ?
> On Sun, Aug 20, 2006 at 11:19:18PM +0400, Denys Rtveliashvili wrote:
> > Hi,
> > I have noticed a bug in E17 that an image can not be selected as a
> > wallpaper in case its file name contains special characters like
> > white-spaces. Could you please apply the attached small fix on CVS?
> > Thank you,
> > Denys
RCS file: /var/cvs/e/e17/apps/e/src/bin/e_int_config_wallpaper_import.c,v
retrieving revision 1.14
diff -u -r1.14 e_int_config_wallpaper_import.c
--- src/bin/e_int_config_wallpaper_import.c 17 Aug 2006 16:58:32 -0000 1.14
+++ src/bin/e_int_config_wallpaper_import.c 20 Aug 2006 21:18:45 -0000
@@ -336,7 +336,7 @@
if (!imgdir) ipart = '\0';
- snprintf(ipart, sizeof(ipart), "-id %s", imgdir);
+ snprintf(ipart, sizeof(ipart), "-id %s", e_util_filename_escape(imgdir));