On Sun, Aug 10, 2008 at 07:08:20PM -0500, Nick Hughart wrote:
> This change:
>
> -   snprintf(buf, sizeof(buf), "%s/.e/e/fileman/favorites/|%s_%d.desktop",
> +   snprintf(buf, sizeof(buf) - 1, "%s/.e/e/fileman/favorites/|%s_%d.desktop",
>           e_user_homedir_get(), id, v->partition_number);
>
> isn't necessary.  snprintf is smart enough to know that it needs space for 
> the null character :)

Ah... Use this one instead then.

-- 
King regards,
Fedor Gusev.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to