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:
parent
c7382d9db9
commit
a1304f494a
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ int main(int argc, char **argv)
|
||||||
/* Search for a '0x' that preceding some delimiting character */
|
/* Search for a '0x' that preceding some delimiting character */
|
||||||
|
|
||||||
delimited = true;
|
delimited = true;
|
||||||
inhex = true;
|
inhex = false;
|
||||||
|
|
||||||
for (i = 0;
|
for (i = 0;
|
||||||
i < LINESIZE && g_line[i] != '\n' && g_line[i] != '\0';
|
i < LINESIZE && g_line[i] != '\n' && g_line[i] != '\0';
|
||||||
|
|
Loading…
Reference in a new issue