Sfoglia il codice sorgente

Simplify wordsplit_string_unquote_copy

* lib/wordsplit.c (wordsplit_string_unquote_copy): Simplify.
Paul Eggert 1 anno fa
parent
commit
783321ff1b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      lib/wordsplit.c

+ 1 - 1
lib/wordsplit.c

@@ -2194,7 +2194,7 @@ wordsplit_string_unquote_copy (struct wordsplit *ws, int inquote,
 		}
 	    }
 	  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)
 		{