Check for wrap.

SVN revision: 17196
This commit is contained in:
sebastid 2005-10-05 16:27:52 +00:00 committed by sebastid
parent bafbfdd400
commit dc1eac36af
1 changed files with 1 additions and 1 deletions

View File

@ -543,7 +543,7 @@ e_zone_app_exec(E_Zone *zone, E_App *a)
p1 = getenv("E_STARTUP_ID");
if (p1) startup_id = atoi(p1);
}
startup_id++;
if (++startup_id < 1) startup_id = 1;
/* save previous env vars we need to save */
penv_display = getenv("DISPLAY");
if (penv_display) penv_display = strdup(penv_display);