Fixed charset in SOUP recoding
This commit is contained in:
parent
88e14b43b7
commit
8e1e6a92c3
@ -441,7 +441,7 @@ char* strxmimecpy(char* dest, const char* source, int level, int size, bool dete
|
|||||||
|
|
||||||
if(detect) {
|
if(detect) {
|
||||||
if(table == -1)
|
if(table == -1)
|
||||||
LoadCharset(AA->Xlatimport(), CFG->xlatlocalset);
|
LoadCharset("N/A", "N/A");
|
||||||
else
|
else
|
||||||
LoadCharset(CFG->xlatcharset[table].imp, CFG->xlatcharset[table].exp);
|
LoadCharset(CFG->xlatcharset[table].imp, CFG->xlatcharset[table].exp);
|
||||||
}
|
}
|
||||||
@ -1559,7 +1559,7 @@ void ScanKludges(GMsg* msg, int getvalue) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Check if it's a signature indicator
|
// Check if it's a signature indicator
|
||||||
else if(AA->isinternet()) {
|
else if(AA->isinternet() or *msg->ito or *msg->ifrom) {
|
||||||
if(streql(ptr, "-- ")) {
|
if(streql(ptr, "-- ")) {
|
||||||
for(Line* q = line; q; q = q->next) {
|
for(Line* q = line; q; q = q->next) {
|
||||||
if((q->type & (GLINE_KLUDGE|GLINE_ORIG|GLINE_TEAR)) == 0) {
|
if((q->type & (GLINE_KLUDGE|GLINE_ORIG|GLINE_TEAR)) == 0) {
|
||||||
|
Reference in New Issue
Block a user