mirror of
https://github.com/fltk/fltk.git
synced 2026-05-19 11:46:16 +08:00
Fixed x-offset problem in Help_Widget (STR #998)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4566 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -3,6 +3,7 @@ CHANGES IN FLTK 1.1.7
|
||||
- Documentation fixes (STR #571, STR #648, STR #692, STR
|
||||
#730, STR #744, STR #745, STR #931, STR #942, STR #960,
|
||||
STR #969)
|
||||
- Fixed x-offset problem in Help_Widget (STR #998)
|
||||
- Clipboard will persist if owner window is hidden (STR #1019)
|
||||
- Fixed handling of Win32 Device Contexts (STR #1007)
|
||||
- Fixed C Plus Plus style comments in C files (STR #997)
|
||||
|
||||
@@ -1291,8 +1291,14 @@ Fl_Help_View::format()
|
||||
xx -= 4 * fsize;
|
||||
block->h += fsize + 2;
|
||||
}
|
||||
else if (strcasecmp(buf, "/TABLE") == 0)
|
||||
else if (strcasecmp(buf, "/TABLE") == 0)
|
||||
{
|
||||
block->h += fsize + 2;
|
||||
// the current block is *not* the table block, so the current xx is
|
||||
// meaningless. Set it back to page x, so the next block will be aligned
|
||||
// reasonably. This fails fro table-in-table html!
|
||||
xx = 4;
|
||||
}
|
||||
else if (strcasecmp(buf, "/PRE") == 0)
|
||||
{
|
||||
pre = 0;
|
||||
|
||||
Reference in New Issue
Block a user