Remove wasted whitespace.

Use PATH_MAX.



SVN revision: 56238
This commit is contained in:
Christopher Michael 2011-01-20 07:51:46 +00:00
parent af0c123f41
commit 242d3034bf
1 changed files with 5 additions and 4 deletions

View File

@ -10,14 +10,15 @@ static void _e_startup(void);
static void _e_startup_next_cb(void *data); static void _e_startup_next_cb(void *data);
/* local subsystem globals */ /* local subsystem globals */
static E_Order *startup_apps = NULL; static E_Order *startup_apps = NULL;
static int start_app_pos = -1; static int start_app_pos = -1;
/* externally accessible functions */ /* externally accessible functions */
EAPI void EAPI void
e_startup(E_Startup_Mode mode) e_startup(E_Startup_Mode mode)
{ {
char buf[PATH_MAX]; char buf[PATH_MAX];
if (mode == E_STARTUP_START) if (mode == E_STARTUP_START)
{ {
e_user_dir_concat_static(buf, "applications/startup/.order"); e_user_dir_concat_static(buf, "applications/startup/.order");
@ -42,8 +43,8 @@ static void
_e_startup(void) _e_startup(void)
{ {
Efreet_Desktop *desktop; Efreet_Desktop *desktop;
char buf[4096]; char buf[PATH_MAX];
if (!startup_apps) if (!startup_apps)
{ {
e_init_done(); e_init_done();