diff options
author | 2016-10-22 16:37:12 +0200 | |
---|---|---|
committer | 2016-10-22 16:37:12 +0200 | |
commit | a6bdefec8c76e9878b634119c56438a7673b0385 (patch) | |
tree | 9b435836a12773fe5b84cf1fd04866ecd9ecc2da /src/emu/natkeyboard.cpp | |
parent | 5f3d4fb33da4304e417a0e142e82e3d292646465 (diff) |
more TRUE/FALSE cleanup (nw)
Diffstat (limited to 'src/emu/natkeyboard.cpp')
-rw-r--r-- | src/emu/natkeyboard.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/natkeyboard.cpp b/src/emu/natkeyboard.cpp index 0ecf260353a..fd39bc7b5e0 100644 --- a/src/emu/natkeyboard.cpp +++ b/src/emu/natkeyboard.cpp @@ -857,10 +857,10 @@ const char_info *char_info::find(char32_t target) //------------------------------------------------- /* -int validate_natural_keyboard_statics(void) +bool validate_natural_keyboard_statics(void) { int i; - int error = FALSE; + bool error = false; char32_t last_char = 0; const char_info *ci; @@ -870,7 +870,7 @@ int validate_natural_keyboard_statics(void) if (last_char >= charinfo[i].ch) { osd_printf_error("inputx: charinfo is out of order; 0x%08x should be higher than 0x%08x\n", charinfo[i].ch, last_char); - error = TRUE; + error = true; } last_char = charinfo[i].ch; } @@ -882,7 +882,7 @@ int validate_natural_keyboard_statics(void) if (ci != &charinfo[i]) { osd_printf_error("ioport: expected char_info::find(0x%08x) to work properly\n", charinfo[i].ch); - error = TRUE; + error = true; } } return error; |