Fixed quote reflow when message is to be recoded

This commit is contained in:
Alexander S. Aganichev 2001-07-18 03:49:45 +00:00
parent 8c47abb153
commit 2384710b15
2 changed files with 12 additions and 1 deletions

View File

@ -12,6 +12,8 @@ ______________________________________________________________________
Notes for GoldED+ 1.1.5, /snapshot/ Notes for GoldED+ 1.1.5, /snapshot/
______________________________________________________________________ ______________________________________________________________________
- Fixed quote reflow when NLS and recoding used (Thanx, Alexey! :))
! Reverted back to old behaviour of ZapQuotesBelow. ! Reverted back to old behaviour of ZapQuotesBelow.
- Fixed EDITHEADERFIRST operation. - Fixed EDITHEADERFIRST operation.

View File

@ -1977,7 +1977,16 @@ void MakeLineIndex(GMsg* msg, int margin, bool header_recode) {
reflow = false; reflow = false;
// Insert previous quotestring // Insert previous quotestring
for(n=0; n<qlen; n++) { for(n=0; n<qlen; n++) {
*(++bp) = *qptr++; if((level&3) and ChsTP) { // Translate level 1 and 2
tptr = (char*)ChsTP[(byte)(*qptr++)];
chln = *tptr++;
while(chln--) {
*(++bp) = *tptr++;
}
}
else {
*(++bp) = *qptr++;
}
} }
if(quotewraphard) { if(quotewraphard) {
*qbuf = NUL; *qbuf = NUL;