aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/zhcon/files/patch-src::zhcon.cpp
blob: 21df71193387aa3fb44ecfa9ae92471ad7af6698 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/zhcon.cpp.orig  Tue Nov 26 01:35:04 2002
+++ src/zhcon.cpp   Tue Nov 26 01:35:25 2002
@@ -131,7 +131,7 @@
     string cfgfile = getenv("HOME");
     cfgfile += "/.zhconrc";
     if (access(cfgfile.c_str(), R_OK) != 0)
-        cfgfile = "/etc/zhcon.conf";
+        cfgfile = PREFIX"/etc/zhcon.conf";
 
     //for debug,a pause enable us to attach zhcon's pid in gdb
     //char c;cin>>c;