Fixed quote reflow when message is to be recoded
This commit is contained in:
parent
8c47abb153
commit
2384710b15
@ -12,6 +12,8 @@ ______________________________________________________________________
|
||||
Notes for GoldED+ 1.1.5, /snapshot/
|
||||
______________________________________________________________________
|
||||
|
||||
- Fixed quote reflow when NLS and recoding used (Thanx, Alexey! :))
|
||||
|
||||
! Reverted back to old behaviour of ZapQuotesBelow.
|
||||
|
||||
- Fixed EDITHEADERFIRST operation.
|
||||
|
@ -1977,8 +1977,17 @@ void MakeLineIndex(GMsg* msg, int margin, bool header_recode) {
|
||||
reflow = false;
|
||||
// Insert previous quotestring
|
||||
for(n=0; n<qlen; n++) {
|
||||
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) {
|
||||
*qbuf = NUL;
|
||||
qlen = 0;
|
||||
|
Reference in New Issue
Block a user