Skip to content

Commit d9fc5ea

Browse files
committed
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0: better way to get ACP
2 parents 8199e5a + 7a8774a commit d9fc5ea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/com_dotnet/com_com.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ PHP_FUNCTION(com_create_instance)
5252
RPC_C_AUTHN_LEVEL_DEFAULT, RPC_C_IMP_LEVEL_IMPERSONATE,
5353
&authid, EOAC_NONE
5454
};
55-
zend_long cp = CP_ACP;
55+
zend_long cp = GetACP();
5656
const struct php_win32_cp *cp_it;
5757

5858
php_com_initialize();

ext/com_dotnet/com_dotnet.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ PHP_FUNCTION(com_dotnet_create_instance)
196196
int ret = FAILURE;
197197
char *where = "";
198198
IUnknown *unk = NULL;
199-
zend_long cp = CP_ACP;
199+
zend_long cp = GetACP();
200200
const struct php_win32_cp *cp_it;
201201

202202
php_com_initialize();

0 commit comments

Comments
 (0)