diff options
Diffstat (limited to 'calendar/gui/print.c')
-rw-r--r-- | calendar/gui/print.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/print.c b/calendar/gui/print.c index 0a219d07f3..9991f2e7cc 100644 --- a/calendar/gui/print.c +++ b/calendar/gui/print.c @@ -741,6 +741,7 @@ bound_text(GnomePrintContext *pc, GnomeFont *font, const char *text, width+=gnome_font_get_glyph_width(font, gnome_font_lookup_default (font, c)); if (width>maxwidth) { o--; + p--; dump=1; } } @@ -768,9 +769,8 @@ bound_text(GnomePrintContext *pc, GnomeFont *font, const char *text, maxwidth -= indent; first=0; } - } else { - p++; } + p++; } if (dump==0) { *o=0; |