Fix text alignment - wasn't resetting the default alignment after

closing a table cell...



git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5545 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet
2006-11-15 04:29:45 +00:00
parent 0789a8a18e
commit 839ac66401
+3
View File
@@ -1287,6 +1287,7 @@ Fl_Help_View::format()
strcasecmp(buf, "TABLE") == 0)
{
block->end = start;
newalign = strcasecmp(buf, "CENTER") ? LEFT : CENTER;
line = do_align(block, line, xx, newalign, links);
xx = block->x;
block->h += hh;
@@ -1496,6 +1497,7 @@ Fl_Help_View::format()
line = do_align(block, line, xx, newalign, links);
block->end = start;
block->h += hh;
talign = LEFT;
xx = blocks_[row].x;
@@ -1578,6 +1580,7 @@ Fl_Help_View::format()
strcasecmp(buf, "/TH") == 0) && row)
{
popfont(font, fsize);
talign = LEFT;
}
else if (strcasecmp(buf, "FONT") == 0)
{