This commit is contained in:
Andrew Pamment 2017-03-31 08:31:50 +10:00
parent bea2058d72
commit bd70eefe6c

View File

@ -483,7 +483,7 @@ char *www_msgs_messageview(struct user_record *user, int conference, int area, i
insz = jmh.TxtLen; insz = jmh.TxtLen;
outsz = jmh.TxtLen * 2; outsz = jmh.TxtLen * 2;
memxet(aha_text, 0, (jmh.TxtLen + 1) * 2); memset(aha_text, 0, (jmh.TxtLen + 1) * 2);
ic = iconv_open("UTF-8", "CP437"); ic = iconv_open("UTF-8", "CP437");
iconv(ic, &iconv_cp437, &insz, &iconv_text, &outsz); iconv(ic, &iconv_cp437, &insz, &iconv_text, &outsz);