From cb0aa43bfcbd1524688e4b239ae7466144daeb3a Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Thu, 6 May 2010 16:00:50 +0200 Subject: [PATCH] Fix macro for MaxQi ini-file name to conform to Makefile It was defined as QINI_file in stead of INI_FILE. --- maxqi.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) 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; -- 1.7.0.4