]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_set_glyph_string_clipping_exactly) [USE_FONT_BACKEND]:
authorKenichi Handa <handa@m17n.org>
Fri, 28 Jul 2006 12:40:43 +0000 (12:40 +0000)
committerKenichi Handa <handa@m17n.org>
Fri, 28 Jul 2006 12:40:43 +0000 (12:40 +0000)
Clip to src->width, etc (not src->clip_XXX).

src/xterm.c

index de26d3931d9752b64efc94d56545a52c3326f2e1..126d954a3a49b5a69c7e8a1eeb07605825febb53 100644 (file)
@@ -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
     {