[project @ 2006-03-26 17:43:43 by dsilvers]

char_offset is an offset, add one to make it a length

svn path=/import/netsurf/; revision=2180
This commit is contained in:
Daniel Silverstone 2006-03-26 17:43:43 +00:00
parent feb7f10e78
commit ccea99c07f
1 changed files with 1 additions and 1 deletions

View File

@ -451,7 +451,7 @@ bool history_redraw_entry(struct history *history,
strlen(entry->title), WIDTH, &char_offset, &actual_x))
return false;
if (!plot.text(entry->x, entry->y + HEIGHT + 12, &css_base_style,
entry->title, char_offset, 0xffffff, c))
entry->title, char_offset + 1, 0xffffff, c))
return false;
for (child = entry->forward; child; child = child->next) {