зеркало из https://github.com/mozilla/gecko-dev.git
Fix bug 43813 by removing erroneous test. r=rhp@netscape.com a=brendan@mozilla.org.
This commit is contained in:
Родитель
f83c889180
Коммит
055803982d
|
@ -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)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче