windres: Fix handling of the -c/--codepage options
This commit is contained in:
1 parent
ab1da59a48
commit
f89a85c973
1 file changed
+2
-2
@@ -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")
|
||||||
|
|||||||
Reference in new issue
Block a user