diff options
author | Anatol Belski <ab@php.net> | 2016-12-12 01:54:22 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2016-12-12 01:54:22 +0100 |
commit | 7a8774ade4383cd1c98d46e7e64f73f869a110e2 (patch) | |
tree | 12572baefe4447c2906f8062d83092fbc2f86ece /ext/com_dotnet/com_dotnet.c | |
parent | 3473b519c0337937a7d667273ec971825db9ea6a (diff) | |
download | php-git-7a8774ade4383cd1c98d46e7e64f73f869a110e2.tar.gz |
better way to get ACP
Diffstat (limited to 'ext/com_dotnet/com_dotnet.c')
-rw-r--r-- | ext/com_dotnet/com_dotnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/com_dotnet/com_dotnet.c b/ext/com_dotnet/com_dotnet.c index a6b75cabef..195ba63916 100644 --- a/ext/com_dotnet/com_dotnet.c +++ b/ext/com_dotnet/com_dotnet.c @@ -196,7 +196,7 @@ PHP_FUNCTION(com_dotnet_create_instance) int ret = FAILURE; char *where = ""; IUnknown *unk = NULL; - zend_long cp = CP_ACP; + zend_long cp = GetACP(); php_com_initialize(); stuff = (struct dotnet_runtime_stuff*)COMG(dotnet_runtime_stuff); |