| Index: core/fxge/win32/fx_win32_print.cpp
|
| diff --git a/core/fxge/win32/fx_win32_print.cpp b/core/fxge/win32/fx_win32_print.cpp
|
| index c8529098eba10ed482590b2948f677a4c45c37a4..f7a1bb69a0fb21eb7e197f678c070ee3e063c49d 100644
|
| --- a/core/fxge/win32/fx_win32_print.cpp
|
| +++ b/core/fxge/win32/fx_win32_print.cpp
|
| @@ -294,7 +294,7 @@ void CPSOutput::OutputPS(const FX_CHAR* str, int len) {
|
| int sent_len = 0;
|
| while (len > 0) {
|
| int send_len = len > 1024 ? 1024 : len;
|
| - *(FX_WORD*)m_pBuf = send_len;
|
| + *(uint16_t*)m_pBuf = send_len;
|
| FXSYS_memcpy(m_pBuf + 2, str + sent_len, send_len);
|
| ExtEscape(m_hDC, PASSTHROUGH, send_len + 2, m_pBuf, 0, NULL);
|
| sent_len += send_len;
|
|
|