[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/xterm.c,v
From: |
Kenichi Handa |
Subject: |
[Emacs-diffs] Changes to emacs/src/xterm.c,v |
Date: |
Sun, 25 May 2008 11:14:33 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Kenichi Handa <handa> 08/05/25 11:14:32
Index: xterm.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/xterm.c,v
retrieving revision 1.992
retrieving revision 1.993
diff -u -b -r1.992 -r1.993
--- xterm.c 23 May 2008 05:33:08 -0000 1.992
+++ xterm.c 25 May 2008 11:14:31 -0000 1.993
@@ -2725,7 +2725,7 @@
else
thickness = 1;
if (x_underline_at_descent_line)
- position = (s->height - thickness) - s->ybase;
+ position = (s->height - thickness) - (s->ybase - s->y);
else
{
/* Get the underline position. This is the recommended
@@ -2746,7 +2746,7 @@
/* Check the sanity of thickness and position. We should
avoid drawing underline out of the current line area. */
if (s->y + s->height <= s->ybase + position)
- position = s->y + s->height - 1;
+ position = (s->height - 1) - (s->ybase - s->y);
if (s->y + s->height < s->ybase + position + thickness)
thickness = (s->y + s->height) - (s->ybase + position);
s->underline_thickness = thickness;
- [Emacs-diffs] Changes to emacs/src/xterm.c,v, Jan Djärv, 2008/05/13
- [Emacs-diffs] Changes to emacs/src/xterm.c,v, Kenichi Handa, 2008/05/13
- [Emacs-diffs] Changes to emacs/src/xterm.c,v, Glenn Morris, 2008/05/14
- [Emacs-diffs] Changes to emacs/src/xterm.c,v, Glenn Morris, 2008/05/20
- [Emacs-diffs] Changes to emacs/src/xterm.c,v, Dan Nicolaescu, 2008/05/21
- [Emacs-diffs] Changes to emacs/src/xterm.c,v, Kenichi Handa, 2008/05/23
- [Emacs-diffs] Changes to emacs/src/xterm.c,v, Kenichi Handa, 2008/05/23
- [Emacs-diffs] Changes to emacs/src/xterm.c,v,
Kenichi Handa <=
- [Emacs-diffs] Changes to emacs/src/xterm.c,v, Andreas Schwab, 2008/05/26
- [Emacs-diffs] Changes to emacs/src/xterm.c,v, Chong Yidong, 2008/05/27