diff options
author | 2016-10-22 18:14:41 +0200 | |
---|---|---|
committer | 2016-10-22 18:14:41 +0200 | |
commit | 864360160bb46c1d8f404d59a20ec7c74bc1faaf (patch) | |
tree | 3a19de19aa24fd3891b24095fe85c08aa2cb990a /src/tools/imgtool/filtbas.cpp | |
parent | d01dd9360f0120b83050d31765e334bd170afd11 (diff) |
TRUE/FALSE in tools section (nw)
Diffstat (limited to 'src/tools/imgtool/filtbas.cpp')
-rw-r--r-- | src/tools/imgtool/filtbas.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/tools/imgtool/filtbas.cpp b/src/tools/imgtool/filtbas.cpp index 1ae9f6f8ea1..1e2e4730f1a 100644 --- a/src/tools/imgtool/filtbas.cpp +++ b/src/tools/imgtool/filtbas.cpp @@ -78,7 +78,7 @@ static imgtoolerr_t basic_readfile(const basictokens *tokens, uint16_t line_number; //, address; uint8_t b, shift; int i; - int in_string = FALSE; + int in_string = false; const basictoken_tableent *token_table; const char *token; @@ -122,7 +122,7 @@ static imgtoolerr_t basic_readfile(const basictokens *tokens, while((mem_stream->read(&b, 1) > 0) && (b != 0x00)) { if (b == 0x22) - in_string = in_string ? FALSE : TRUE; + in_string = in_string ? false : true; if ((b & 0x80) && (!in_string)) { @@ -180,7 +180,7 @@ static imgtoolerr_t basic_writefile(const basictokens *tokens, imgtoolerr_t err; imgtool::stream *mem_stream; char buf[1024]; - int eof = FALSE; + int eof = false; uint32_t len; char c; int i, j, pos, in_quotes; @@ -267,7 +267,7 @@ static imgtoolerr_t basic_writefile(const basictokens *tokens, pos++; /* when we start out, we are not within quotation marks */ - in_quotes = FALSE; + in_quotes = false; /* read until end of line */ while(buf[pos] != '\0') @@ -2953,7 +2953,7 @@ static const basictokens cocobas_tokens = { 0x2600, 3, - TRUE, + true, cocobas_tokenents, ARRAY_LENGTH(cocobas_tokenents) }; @@ -2997,7 +2997,7 @@ static const basictokens dragonbas_tokens = { 0x2600, 4, - TRUE, + true, dragonbas_tokenents, ARRAY_LENGTH(dragonbas_tokenents) }; @@ -3042,7 +3042,7 @@ static const basictokens vzbas_tokens = { 0x7ae9, 0, - FALSE, + false, vzbas_tokenents, ARRAY_LENGTH(vzbas_tokenents) }; @@ -3086,7 +3086,7 @@ static const basictokens bml3bas_tokens = { 0x2600, 3, - TRUE, + true, bml3bas_tokenents, ARRAY_LENGTH(bml3bas_tokenents) }; |