1 --- AfterStep-1.0/afterstep/configure.c.orig Mon Sep 29 20:41:52 2003
2 +++ AfterStep-1.0/afterstep/configure.c Mon Sep 29 20:44:20 2003
6 char *Home; /* the HOME environment variable */
7 + char *home_etc = getenv("HOME_ETC");
8 int HomeLen; /* length of Home */
10 int icol, mcol, ucol, tcol, scol; /* texture colors */
12 Scr.DefaultIcon = NULL;
14 /* find the home directory to look in */
15 - Home = getenv("HOME");
16 + Home = home_etc ? home_etc : getenv("HOME");
19 HomeLen = strlen(Home);