Skip to content
Snippets Groups Projects
Commit 7167fae0 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Revert "Fix new (MSVC) warnings"

This reverts commit e90e8f82.

Apparently this causes issues with recognition of the QWK newline char
(pi symbol, EX-ASCII 227) in QWK messages.
parent ce8b5b14
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
......@@ -246,7 +246,7 @@ int sbbs_t::msgtoqwk(smbmsg_t* msg, FILE *qwk_fp, int mode, smb_t* smb
if(!buf)
return -2;
uchar qwk_newline = QWK_NEWLINE;
char qwk_newline = QWK_NEWLINE;
if(smb_msg_is_utf8(msg) || (msg->hdr.auxattr & MSG_HFIELDS_UTF8)) {
if(mode&QM_UTF8)
qwk_newline = '\n';
......
......@@ -314,7 +314,7 @@ bool sbbs_t::qwk_import_msg(FILE *qwk_fp, char *hdrblk, uint blocks
kludges=strListInit();
uchar qwk_newline = QWK_NEWLINE;
char qwk_newline = QWK_NEWLINE;
if(msg->hdr.auxattr & MSG_HFIELDS_UTF8)
qwk_newline = '\n';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment