Magellan Linux

Contents of /trunk/space4/patches/space4-20051113-config.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 153 - (show annotations) (download)
Tue May 8 20:52:56 2007 UTC (17 years ago) by niro
File size: 604 byte(s)
-import

1 --- space4/main/src/space4_main2.cpp.orig 2005-11-13 01:02:40.000000000 +0000
2 +++ space4/main/src/space4_main2.cpp 2005-11-13 01:01:31.000000000 +0000
3 @@ -582,16 +582,16 @@
4
5 private:
6 void readSpace4Config() {
7 - std::ifstream cfgfile("space4Cfg.poc");
8 + std::ifstream cfgfile("conf/space4Cfg.poc");
9 if (cfgfile) {
10 cfgfile.close();
11 } else {
12 - std::ofstream cfgout("space4Cfg.poc");
13 + std::ofstream cfgout("conf/space4Cfg.poc");
14 cfgout << defaultCfg;
15 cfgout.close();
16 }
17
18 - config.openCfg("space4Cfg.poc");
19 + config.openCfg("conf/space4Cfg.poc");
20 }
21
22 void initWindow() {