diff options
Diffstat (limited to 'protocols/AimOscar/src/conv.cpp')
-rw-r--r-- | protocols/AimOscar/src/conv.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/AimOscar/src/conv.cpp b/protocols/AimOscar/src/conv.cpp index f0458f7fde..75c95e2cc7 100644 --- a/protocols/AimOscar/src/conv.cpp +++ b/protocols/AimOscar/src/conv.cpp @@ -771,10 +771,9 @@ char* rtf_to_html(HWND hwndDlg,int DlgItem) }
else
{
- char* txt = mir_utf8encodeT(text);
+ T2Utf txt(text);
strcpy(&buf[pos], txt);
pos += mir_strlen(txt);
- mir_free(txt);
}
start++;
end++;
|