]> git.pld-linux.org Git - packages/AfterStep10.git/blob - AfterStep10-home_etc.patch
- massive change ( validate errors warrings from desktop-file-validate)
[packages/AfterStep10.git] / AfterStep10-home_etc.patch
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
3 @@ -459,6 +459,7 @@
4    char *home_file;
5    char line[256],*tline;
6    char *Home;                  /* the HOME environment variable */
7 +  char *home_etc = getenv("HOME_ETC");
8    int HomeLen;                 /* length of Home */
9  #ifdef ENABLE_TEXTURE
10    int icol, mcol, ucol, tcol, scol;    /* texture colors */
11 @@ -492,7 +493,7 @@
12    Scr.DefaultIcon = NULL;
13  
14    /* find the home directory to look in */
15 -  Home = getenv("HOME");
16 +  Home = home_etc ? home_etc : getenv("HOME");
17    if (Home == NULL)
18      Home = "./";
19    HomeLen = strlen(Home);
This page took 0.050374 seconds and 3 git commands to generate.