From 1b7abb97b72fd54303e8854e61a1dcc9b6e9df49 Mon Sep 17 00:00:00 2001 From: bgermann Date: Thu, 30 Aug 2018 14:07:18 +0200 Subject: [PATCH] Correct 3e6d9696 --- main/gbx/gbx_stream.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/main/gbx/gbx_stream.c b/main/gbx/gbx_stream.c index d5fc6cfa4..ac78bdef8 100644 --- a/main/gbx/gbx_stream.c +++ b/main/gbx/gbx_stream.c @@ -713,13 +713,13 @@ static char *input(STREAM *stream, bool line, char *escape) ec = escape ? *escape : 0; if (!line) - test = &&__TESTO_INPUT; + test = &&__TEST_INPUT; else { switch(stream->common.eol) { - case GB_EOL_WINDOWS: test = &&__TESTO_WINDOWS; break; - case GB_EOL_MAC: test = &&__TESTO_MAC; break; + case GB_EOL_WINDOWS: test = &&__TEST_WINDOWS; break; + case GB_EOL_MAC: test = &&__TEST_MAC; break; default: test = NULL; mode = ec ? 1 : 0; break; } } @@ -807,7 +807,7 @@ static char *input(STREAM *stream, bool line, char *escape) goto *test; - __TESTO_INPUT: + __TEST_INPUT: if (c <= ' ') { @@ -817,7 +817,7 @@ static char *input(STREAM *stream, bool line, char *escape) else continue; - __TESTO_MAC: + __TEST_MAC: if (c == '\r') { @@ -827,7 +827,7 @@ static char *input(STREAM *stream, bool line, char *escape) else continue; - __TESTO_WINDOWS: + __TEST_WINDOWS: if ((lc == '\r') && (c == '\n')) {