try again.
This commit is contained in:
parent
e61e832d2f
commit
c19f929697
|
@ -436,7 +436,8 @@ _FX HDC Gui_CreateDCA(LPCSTR pwszDriver, LPCSTR pwszDevice, LPCSTR pszPort, co
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
_FX HDC Gui_CreateDCW(LPCWSTR pwszDriver, LPCWSTR pwszDevice, LPCWSTR pszPort, const void* pdm) {
|
_FX HDC Gui_CreateDCW(LPCWSTR pwszDriver, LPCWSTR pwszDevice, LPCWSTR pszPort, const void* pdm) {
|
||||||
void* pdm2 = pdm;
|
void* pdm2;
|
||||||
|
memcpy(pdm2, pdm, sizeof(pdm));
|
||||||
#ifdef _WIN64
|
#ifdef _WIN64
|
||||||
HDC ret = __sys_CreateDCW(pwszDriver, pwszDevice, pszPort, pdm);
|
HDC ret = __sys_CreateDCW(pwszDriver, pwszDevice, pszPort, pdm);
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue