1
0
Fork 0
forked from nuttx/nuttx-update

tools/lowhex.c: Fix an initialization problem that was causing some odd behavior at the beginning of lines.

This commit is contained in:
Gregory Nutt 2019-02-07 11:28:04 -06:00
parent c7382d9db9
commit a1304f494a

View file

@ -112,7 +112,7 @@ int main(int argc, char **argv)
/* Search for a '0x' that preceding some delimiting character */
delimited = true;
inhex = true;
inhex = false;
for (i = 0;
i < LINESIZE && g_line[i] != '\n' && g_line[i] != '\0';