This commit is contained in:
bratell%lysator.liu.se 2000-07-22 17:32:28 +00:00
Родитель f83c889180
Коммит 055803982d
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -520,7 +520,7 @@ MimeInlineTextPlainFlowed_parse_line (char *line, PRInt32 length, MimeObject *ob
if ('<' == *templinep) if ('<' == *templinep)
intag = 1; intag = 1;
if (!intag) { if (!intag) {
if ((' ' == *templinep) && !exdata->inflow) { if (' ' == *templinep) {
if (nextSpaceIsNbsp) if (nextSpaceIsNbsp)
{ {
*outlinep='&'; outlinep++; *outlinep='&'; outlinep++;
@ -536,7 +536,7 @@ MimeInlineTextPlainFlowed_parse_line (char *line, PRInt32 length, MimeObject *ob
} }
nextSpaceIsNbsp = PR_TRUE; nextSpaceIsNbsp = PR_TRUE;
templinep++; templinep++;
} else if(('\t' == *templinep) && !exdata->inflow) { } else if('\t' == *templinep) {
// Output 4 "spaces" // Output 4 "spaces"
for(int spaces=0; spaces<4; spaces++) { for(int spaces=0; spaces<4; spaces++) {
if (nextSpaceIsNbsp) if (nextSpaceIsNbsp)
@ -595,7 +595,7 @@ MimeInlineTextPlainFlowed_parse_line (char *line, PRInt32 length, MimeObject *ob
while(*templinep && (*templinep != '\r') && (*templinep != '\n')) { while(*templinep && (*templinep != '\r') && (*templinep != '\n')) {
if('<' == *templinep) intag = 1; if('<' == *templinep) intag = 1;
if(!intag) { if(!intag) {
if((' ' == *templinep) && !exdata->inflow) { if(' ' == *templinep) {
if (nextSpaceIsNbsp) if (nextSpaceIsNbsp)
{ {
*outlinep='&'; outlinep++; *outlinep='&'; outlinep++;
@ -611,7 +611,7 @@ MimeInlineTextPlainFlowed_parse_line (char *line, PRInt32 length, MimeObject *ob
} }
nextSpaceIsNbsp = PR_TRUE; nextSpaceIsNbsp = PR_TRUE;
templinep++; templinep++;
} else if(('\t' == *templinep) && !exdata->inflow) { } else if('\t' == *templinep) {
// Output 4 "spaces" // Output 4 "spaces"
for(int spaces=0; spaces<4; spaces++) { for(int spaces=0; spaces<4; spaces++) {
if (nextSpaceIsNbsp) if (nextSpaceIsNbsp)