Make sure the startup_id is > 0

SVN revision: 17070
This commit is contained in:
sebastid 2005-09-29 15:15:50 +00:00 committed by sebastid
parent 6a2012681d
commit ef113fedff
1 changed files with 1 additions and 0 deletions

View File

@ -581,6 +581,7 @@ e_zone_app_exec(E_Zone *zone, E_App *a)
e_util_env_set("LD_PRELOAD_PATH", buf);
snprintf(buf, sizeof(buf), "%s/enlightenment/preload/e_hack.so", e_prefix_lib_get());
*/
if (startup_id < 1) startup_id = 1;
snprintf(buf, sizeof(buf), "E_START|%i", startup_id++);
e_util_env_set("DESKTOP_STARTUP_ID", buf);
/* execute */