Simplify wordsplit_string_unquote_copy

* lib/wordsplit.c (wordsplit_string_unquote_copy): Simplify.
This commit is contained in:
Paul Eggert
2023-09-12 00:33:55 -05:00
parent 01f986b921
commit 783321ff1b

View File

@@ -2194,7 +2194,7 @@ wordsplit_string_unquote_copy (struct wordsplit *ws, int inquote,
} }
} }
else if (WRDSO_ESC_TEST (ws, inquote, WRDSO_OESC) else if (WRDSO_ESC_TEST (ws, inquote, WRDSO_OESC)
&& (unsigned char) src[i] < 128 && c_isdigit (src[i])) && c_isdigit (src[i]))
{ {
if (n - i < 1) if (n - i < 1)
{ {