englebass,

On 04/04/2007 06:54, Enlightenment CVS wrote:
> Enlightenment CVS committal
> 
> Author  : englebass
> Project : e17
> Module  : libs/efreet
> 
> Dir     : e17/libs/efreet/src/lib
> 
> 
> Modified Files:
>       efreet_icon.c 
> 
> 
> Log Message:
> Drop icons without extenstion
> 
> ===================================================================
> RCS file: /cvs/e/e17/libs/efreet/src/lib/efreet_icon.c,v
> retrieving revision 1.11
> retrieving revision 1.12
> diff -u -3 -r1.11 -r1.12
> --- efreet_icon.c     4 Apr 2007 11:52:46 -0000       1.11
> +++ efreet_icon.c     4 Apr 2007 11:54:23 -0000       1.12
> @@ -671,8 +671,12 @@
>              name_strs[0] = name;
>  
>              /* Drop the extension to cache icon name */

> -            ext = strrchr(name, '.');
                ^^^^^^^^^^^^^^^^^^^^^^^^^
I'm wondering if you accidentally removed the line above??



> -            if (ext) 
> +            if (!ext)
> +            {
> +                FREE(name);
> +                continue;
> +            }
> +            else
>              {
>                  /* we need to skip .icon files as their used for
>                   * informational purposes only */
> 
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> enlightenment-cvs mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs
> 
> 


-- 
Regards,
Ravenlock

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to