From 1b4fe7abd255dbba6c50e82ca301149d02cd4abd Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Fri, 28 Jul 2006 12:40:43 +0000 Subject: [PATCH] (x_set_glyph_string_clipping_exactly) [USE_FONT_BACKEND]: Clip to src->width, etc (not src->clip_XXX). --- src/xterm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/xterm.c b/src/xterm.c index de26d3931d9..126d954a3a4 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -1193,9 +1193,9 @@ x_set_glyph_string_clipping_exactly (src, dst) if (enable_font_backend) { r.x = dst->clip_x = src->x; - r.width = dst->clip_width = src->clip_width; - r.y = dst->clip_y = src->clip_y; - r.height = dst->clip_height = src->clip_height; + r.width = dst->clip_width = src->width; + r.y = dst->clip_y = src->y; + r.height = dst->clip_height = src->height; } else { -- 2.39.5