]> git.pld-linux.org Git - packages/zgv.git/blob - zgv-home_etc.patch
- converted to UTF-8
[packages/zgv.git] / zgv-home_etc.patch
1 diff -Nru zgv-5.7.orig/src/rcfile.c zgv-5.7/src/rcfile.c
2 --- zgv-5.7.orig/src/rcfile.c   2003-06-30 15:41:43.000000000 +0200
3 +++ zgv-5.7/src/rcfile.c        2003-11-09 15:15:39.000000000 +0100
4 @@ -267,7 +267,9 @@
5  static char cfgfile[1024];
6  FILE *in;
7  int got_rcfile=0;
8 -char *home=getenv("HOME");
9 +char *home=getenv("HOME_ETC");
10 +
11 +if (!home) home=getenv("HOME");
12  
13  defaultcfg();
14  
This page took 0.109185 seconds and 3 git commands to generate.