From 3bf35baeb0ba582e84f61888848fd9c7746ca17b Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sat, 1 Oct 2022 01:01:12 +0300 Subject: [PATCH 35/35] rand.h: Correct comment about boolean value "0" It's FALSE. See osdn #45756 Signed-off-by: Marko Lindqvist --- utility/rand.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utility/rand.h b/utility/rand.h index 7e49f5c107..74f5f14055 100644 --- a/utility/rand.h +++ b/utility/rand.h @@ -1,4 +1,4 @@ -/********************************************************************** +/*********************************************************************** Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,7 +28,7 @@ typedef uint32_t RANDOM_TYPE; typedef struct { RANDOM_TYPE v[56]; int j, k, x; - bool is_init; /* initially 0 for static storage */ + bool is_init; /* initially FALSE for static storage */ } RANDOM_STATE; #define fc_rand(_size) \ @@ -59,4 +59,4 @@ RANDOM_TYPE fc_randomly_debug(RANDOM_TYPE seed, RANDOM_TYPE size, } #endif /* __cplusplus */ -#endif /* FC__RAND_H */ +#endif /* FC__RAND_H */ -- 2.35.1