From a550ea0a47374705a37f36b0f05ffe9e4c8161fb Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Tue, 13 Nov 2018 21:44:02 +0000 Subject: Replace TRUE/FALSE with C99 true/false throughout. This commit removes the old #defines of TRUE and FALSE from puzzles.h, and does a mechanical search-and-replace throughout the code to replace them with the C99 standard lowercase spellings. --- latin.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'latin.h') diff --git a/latin.h b/latin.h index 3c9e8e8..ff6f07c 100644 --- a/latin.h +++ b/latin.h @@ -14,11 +14,11 @@ extern int solver_show_working, solver_recurse_depth; struct latin_solver { int o; /* order of latin square */ unsigned char *cube; /* o^3, indexed by x, y, and digit: - TRUE in that position indicates a possibility */ + true in that position indicates a possibility */ digit *grid; /* o^2, indexed by x and y: for final deductions */ - unsigned char *row; /* o^2: row[y*cr+n-1] TRUE if n is in row y */ - unsigned char *col; /* o^2: col[x*cr+n-1] TRUE if n is in col x */ + unsigned char *row; /* o^2: row[y*cr+n-1] true if n is in row y */ + unsigned char *col; /* o^2: col[x*cr+n-1] true if n is in col x */ #ifdef STANDALONE_SOLVER char **names; /* o: names[n-1] gives name of 'digit' n */ -- cgit v1.1