summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/chat/log.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Scriver/src/chat/log.cpp')
-rw-r--r--plugins/Scriver/src/chat/log.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Scriver/src/chat/log.cpp b/plugins/Scriver/src/chat/log.cpp
index 27696f1a01..a06be991bb 100644
--- a/plugins/Scriver/src/chat/log.cpp
+++ b/plugins/Scriver/src/chat/log.cpp
@@ -315,8 +315,8 @@ static void AddEventToBuffer(char **buffer, int *bufferEnd, int *bufferAlloced,
TCHAR *ptszTemp = NULL;
TCHAR *ptszText = streamData->lin->ptszText;
if (streamData->si->windowData.codePage != CP_ACP) {
- char *aText = t2acp(streamData->lin->ptszText, CP_ACP);
- ptszText = ptszTemp = a2tcp(aText, streamData->si->windowData.codePage);
+ char *aText = mir_t2a_cp(streamData->lin->ptszText, CP_ACP);
+ ptszText = ptszTemp = mir_a2t_cp(aText, streamData->si->windowData.codePage);
mir_free(aText);
}
@@ -407,8 +407,8 @@ static void AddEventToBufferIEView(TCHAR **buffer, int *bufferEnd, int *bufferAl
TCHAR *ptszTemp = NULL;
TCHAR *ptszText = streamData->lin->ptszText;
if (streamData->si->windowData.codePage != CP_ACP) {
- char *aText = t2acp(streamData->lin->ptszText, CP_ACP);
- ptszText = ptszTemp = a2tcp(aText, streamData->si->windowData.codePage);
+ char *aText = mir_t2a_cp(streamData->lin->ptszText, CP_ACP);
+ ptszText = ptszTemp = mir_a2t_cp(aText, streamData->si->windowData.codePage);
mir_free(aText);
}