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
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
Hello everyone!
Attached patch adds an ability to show/hide desktop icons that HAL
produces.
Apply from E's source top, since it makes changes in both core E and
fileman module.
--
King regards,
Fedor Gusev.
diff --git a/src/bin/e_config.c b/src/bin/e_config.c
index 4489b8f..e06515f 100644
---
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