windres: Fix handling of the -c/--codepage options

This commit is contained in:
Martin Storsjö committed 2018-09-29 23:03:16 +03:00
1 parent ab1da59a48
commit f89a85c973
1 file changed
+2 -2
+2 -2
View File
@@ -121,9 +121,9 @@ while [ $# != 0 ]; do
"-I"*) "-I"*)
INCLUDE="${INCLUDE} ${1#-I}";; INCLUDE="${INCLUDE} ${1#-I}";;
"-c"|"--codepage") "-c"|"--codepage")
CODEPAGE="${1#*=}";;
"-c="*|"--codepage="*)
CODEPAGE="${2}"; shift;; CODEPAGE="${2}"; shift;;
"-c="*|"--codepage="*)
CODEPAGE="${1#*=}";;
"--preprocessor") "--preprocessor")
error "ENOSYS";; error "ENOSYS";;
"--preprocessor-arg") "--preprocessor-arg")