summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/html.cc6
-rw-r--r--src/plain.cc2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/html.cc b/src/html.cc
index 806e5950..3817dd20 100644
--- a/src/html.cc
+++ b/src/html.cc
@@ -1253,7 +1253,7 @@ static void Html_eventually_pop_dw(DilloHtml *html, bool hand_over_break)
if (html->dw != S_TOP(html)->textblock) {
if (hand_over_break)
DW2TB(html->dw)->handOverBreak (S_TOP(html)->style);
- DW2TB(html->dw)->flush (false);
+ DW2TB(html->dw)->flush ();
html->dw = S_TOP(html)->textblock;
}
}
@@ -2765,7 +2765,7 @@ static void Html_tag_close_li(DilloHtml *html, int TagIdx)
{
html->InFlags &= ~IN_LI;
html->WordAfterLI = false;
- ((ListItem *)html->dw)->flush (false);
+ ((ListItem *)html->dw)->flush ();
a_Html_pop_tag(html, TagIdx);
}
@@ -3855,7 +3855,7 @@ static int Html_write_raw(DilloHtml *html, char *buf, int bufsize, int Eof)
}
}/*while*/
- textblock->flush (Eof ? true : false);
+ textblock->flush ();
return token_start;
}
diff --git a/src/plain.cc b/src/plain.cc
index eb040122..3f2c6399 100644
--- a/src/plain.cc
+++ b/src/plain.cc
@@ -190,7 +190,7 @@ void DilloPlain::write(void *Buf, uint_t BufSize, int Eof)
Start_Ofs += len;
}
- DW2TB(dw)->flush(Eof ? true : false);
+ DW2TB(dw)->flush();
if (bw)
a_UIcmd_set_page_prog(bw, Start_Ofs, 1);