summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-24 03:51:12 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-24 03:51:12 -0300
commitf6392f0185eef58d76b86f7ccdc351ca004970ed (patch)
tree9f098799d4d79ba577a6eb17f62ffaf026d55608 /gui
parentbe96ca3b1ee3b6ca9c681fb800c0e5545acc3646 (diff)
downloadeeshow-f6392f0185eef58d76b86f7ccdc351ca004970ed.tar.gz
eeshow-f6392f0185eef58d76b86f7ccdc351ca004970ed.tar.bz2
eeshow-f6392f0185eef58d76b86f7ccdc351ca004970ed.zip
gui/over.c (overlay_draw_text): clipping shaved off rightmost pixels
Diffstat (limited to 'gui')
-rw-r--r--gui/over.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/over.c b/gui/over.c
index 0a315e1..415ecdc 100644
--- a/gui/over.c
+++ b/gui/over.c
@@ -186,7 +186,7 @@ fprintf(stderr, "%u(%d) %u %.60s\n", ty, ink_rect.y / PANGO_SCALE, ink_h, over->
* since we're currently only concerned about horizontal clipping anyway.
*/
- cairo_rectangle(cr, tx, ty, ink_w, ink_h + 20);
+ cairo_rectangle(cr, tx, ty, ink_w + 1, ink_h + 20);
cairo_clip(cr);
}