From: H.G. Muller Date: Thu, 6 May 2010 14:00:50 +0000 (+0200) Subject: Fix macro for MaxQi ini-file name to conform to Makefile X-Git-Tag: 4.8P~14 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=cb0aa43bfcbd1524688e4b239ae7466144daeb3a;p=fairymax.git Fix macro for MaxQi ini-file name to conform to Makefile It was defined as QINI_file in stead of INI_FILE. --- diff --git a/maxqi.c b/maxqi.c index 9b15595..63c1119 100644 --- a/maxqi.c +++ b/maxqi.c @@ -88,14 +88,14 @@ int GetTickCount() // with thanks to Tord gettimeofday(&t, NULL); return t.tv_sec*1000 + t.tv_usec/1000; } -#ifndef QINI_FILE -#define QINI_FILE "qmax.ini" +#ifndef INI_FILE +#define INI_FILE "qmax.ini" #endif #else #include -#define QINI_FILE "qmax.ini" +#define INI_FILE "qmax.ini" #endif @@ -132,7 +132,7 @@ int Fifty; int UnderProm; int GameNr; char piecename[32], piecetype[32], defaultchar[]=".PPKNBRQEWFMACHG"; -char *inifile = QINI_FILE; +char *inifile = INI_FILE; int Ticks, tlim, Setup, SetupQ;