Mercurial > hg > xemacs-beta
diff src/redisplay-x.c @ 251:677f6a0ee643 r20-5b24
Import from CVS: tag r20-5b24
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:19:59 +0200 |
parents | e70b3a057e12 |
children | 11cf20601dec |
line wrap: on
line diff
--- a/src/redisplay-x.c Mon Aug 13 10:19:12 2007 +0200 +++ b/src/redisplay-x.c Mon Aug 13 10:19:59 2007 +0200 @@ -259,7 +259,7 @@ */ static int -x_text_width (struct face_cachel *cachel, CONST Emchar *str, +x_text_width (struct frame *f, struct face_cachel *cachel, CONST Emchar *str, Charcount len) { int width_so_far = 0; @@ -814,7 +814,7 @@ XSETWINDOW (window, w); if (width < 0) - width = x_text_width (cachel, Dynarr_atp (buf, 0), Dynarr_length (buf)); + width = x_text_width (f, cachel, Dynarr_atp (buf, 0), Dynarr_length (buf)); height = dl->ascent + dl->descent - dl->clip; /* Regularize the variables passed in. */