diff options
Diffstat (limited to 'kfaxview/libkfaximage/faxinit.cpp')
-rw-r--r-- | kfaxview/libkfaximage/faxinit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kfaxview/libkfaximage/faxinit.cpp b/kfaxview/libkfaximage/faxinit.cpp index aa6166aa..fa4517d2 100644 --- a/kfaxview/libkfaximage/faxinit.cpp +++ b/kfaxview/libkfaximage/faxinit.cpp @@ -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); |