fixed hardcoded location of config file for xboard
[xboard.git] / xboard.h
index 7ada32f..77d41f3 100644 (file)
--- a/xboard.h
+++ b/xboard.h
@@ -113,7 +113,7 @@ typedef struct {
 #define FCP_NAMES               ""
 #define SCP_NAMES               ""
 #define ICS_TEXT_MENU_DEFAULT   ""
-#define SETTINGS_FILE           "/etc/xboard/xboard.conf"
+#define SETTINGS_FILE           SYSCONFDIR"/xboard.conf"
 #define COLOR_BKGD              "white"
 
 typedef int (*FileProc) P((FILE *f, int n, char *title));