Quellcode durchsuchen

Simplify wordsplit_string_unquote_copy

* lib/wordsplit.c (wordsplit_string_unquote_copy): Simplify.
Paul Eggert vor 1 Jahr
Ursprung
Commit
783321ff1b
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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)
 		{