aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/eco.h
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/eco.h')
-rw-r--r--FICS/eco.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/FICS/eco.h b/FICS/eco.h
index 422eef2..45bd113 100644
--- a/FICS/eco.h
+++ b/FICS/eco.h
@@ -1,6 +1,14 @@
#ifndef _ECO_H
#define _ECO_H
+#define SPACE_CHK()\
+ do {\
+ if (space > 0) {\
+ FENstring[FENcount++] = (space + '0');\
+ space = 0;\
+ }\
+ } while (0)
+
typedef struct {
char ECO[4];
char FENpos[80];