24 lines
677 B
Plaintext
24 lines
677 B
Plaintext
--- client/climisc.c.orig Tue Feb 3 07:23:52 1998
|
|
+++ client/climisc.c Fri Feb 6 16:45:34 1998
|
|
@@ -27,6 +27,11 @@
|
|
#include <mapctrl.h>
|
|
#include <map.h>
|
|
|
|
+#ifndef FREECIV_DATADIR
|
|
+#define FREECIV_DATADIR "data"
|
|
+#endif
|
|
+
|
|
+
|
|
/***************************************************************************
|
|
...
|
|
***************************************************************************/
|
|
@@ -42,7 +47,7 @@
|
|
if(datadir[i] == '/')
|
|
datadir[i] = '\0';
|
|
} else {
|
|
- datadir = "data"; /* correct if not 'data' is the default */
|
|
+ datadir = FREECIV_DATADIR; /* correct if not 'data' is the default */
|
|
};
|
|
};
|
|
sprintf(realfile,"%s/%s",datadir,filename);
|