summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2006-03-26 17:43:43 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2006-03-26 17:43:43 +0000
commitccea99c07fda4b1df70b490dcd0117485e267720 (patch)
tree4facca2935b42a747e7f8d0a7ae3cb196509b906 /desktop
parentfeb7f10e788e240bf2eef709bfb1983daf7afe3c (diff)
downloadnetsurf-ccea99c07fda4b1df70b490dcd0117485e267720.tar.gz
netsurf-ccea99c07fda4b1df70b490dcd0117485e267720.tar.bz2
[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
Diffstat (limited to 'desktop')
-rw-r--r--desktop/history_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/history_core.c b/desktop/history_core.c
index 04e02d736..cdfb96e41 100644
--- a/desktop/history_core.c
+++ b/desktop/history_core.c
@@ -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) {