summaryrefslogtreecommitdiff
path: root/core/fxge/win32/cpsoutput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxge/win32/cpsoutput.cpp')
-rw-r--r--core/fxge/win32/cpsoutput.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fxge/win32/cpsoutput.cpp b/core/fxge/win32/cpsoutput.cpp
index 76b37d7dac..24df15226b 100644
--- a/core/fxge/win32/cpsoutput.cpp
+++ b/core/fxge/win32/cpsoutput.cpp
@@ -20,13 +20,13 @@ void CPSOutput::Release() {
delete this;
}
-void CPSOutput::OutputPS(const FX_CHAR* str, int len) {
+void CPSOutput::OutputPS(const char* str, int len) {
if (len < 0)
len = static_cast<int>(FXSYS_strlen(str));
int sent_len = 0;
while (len > 0) {
- FX_CHAR buffer[1026];
+ char buffer[1026];
int send_len = std::min(len, 1024);
*(reinterpret_cast<uint16_t*>(buffer)) = send_len;
FXSYS_memcpy(buffer + 2, str + sent_len, send_len);