Corrected boolean usage to conform with C++17 standard.

This resolves a FTBFS on some systems.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
(cherry picked from commit d19460fd6e)
r14.0.x
Mavridis Philippe 3 years ago
parent 0ef22169d6
commit 5275ed4e9f
No known key found for this signature in database
GPG Key ID: F8D2D7E2F989A494

@ -319,11 +319,11 @@ FillTable(struct tabent *T, int Size, const struct proto *P, int State)
void
fax_init_tables(void)
{
static bool already_initialized = 0;
static bool already_initialized = false;
if (already_initialized)
return;
++already_initialized;
already_initialized = true;
FillTable(MainTable, 7, Pass, S_Pass);
FillTable(MainTable, 7, Horiz, S_Horiz);

Loading…
Cancel
Save