make-c-wrapper: Fix typo in generated code documentation

This commit is contained in:
Tobias Bergkvist 2021-05-27 01:47:40 +02:00
parent de1f53b84d
commit eef4fa82c1

View file

@ -50,7 +50,7 @@ for ((n = 1; n < ${#args[*]}; n += 1)); do
escape_string_literal "${args[$((n + 1))]}" escape_string_literal "${args[$((n + 1))]}"
key="${result}" key="${result}"
printf "%s\n" " unsetenv(\"$key\");" printf "%s\n" " unsetenv(\"$key\");"
docs="${docs:+$docs$'\n'}unsetenv(\"${key}=${value}\", 0);" docs="${docs:+$docs$'\n'}unsetenv(\"${key}=${value}\");"
n=$((n + 1)) n=$((n + 1))
elif [[ "$p" == "--argv0" ]]; then elif [[ "$p" == "--argv0" ]]; then
escape_string_literal "${args[$((n + 1))]}" escape_string_literal "${args[$((n + 1))]}"