mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-20 23:51:29 -07:00
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.
This commit is contained in:
@ -35,7 +35,7 @@ document *document_new(int pw, int ph, float userscale)
|
||||
doc->ph = ph;
|
||||
doc->puzzles = NULL;
|
||||
doc->puzzlesize = doc->npuzzles = 0;
|
||||
doc->got_solns = FALSE;
|
||||
doc->got_solns = false;
|
||||
|
||||
doc->colwid = snewn(pw, float);
|
||||
doc->rowht = snewn(ph, float);
|
||||
@ -85,7 +85,7 @@ void document_add_puzzle(document *doc, const game *game, game_params *par,
|
||||
doc->puzzles[doc->npuzzles].st2 = st2;
|
||||
doc->npuzzles++;
|
||||
if (st2)
|
||||
doc->got_solns = TRUE;
|
||||
doc->got_solns = true;
|
||||
}
|
||||
|
||||
static void get_puzzle_size(document *doc, struct puzzle *pz,
|
||||
|
Reference in New Issue
Block a user