emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/src xterm.c


From: Chong Yidong
Subject: [Emacs-diffs] emacs/src xterm.c
Date: Wed, 03 Dec 2008 04:10:38 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      08/12/03 04:10:38

Modified files:
        src            : xterm.c 

Log message:
        (x_draw_glyph_string): Fall back on underline_minimum_offset for
        undlerline position.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/src/xterm.c?cvsroot=emacs&r1=1.1014&r2=1.1015

Patches:
Index: xterm.c
===================================================================
RCS file: /sources/emacs/emacs/src/xterm.c,v
retrieving revision 1.1014
retrieving revision 1.1015
diff -u -b -r1.1014 -r1.1015
--- xterm.c     15 Nov 2008 05:33:17 -0000      1.1014
+++ xterm.c     3 Dec 2008 04:10:37 -0000       1.1015
@@ -2765,6 +2765,8 @@
                    position = s->font->underline_position;
                  else if (s->font)
                    position = (s->font->descent + 1) / 2;
+                 else
+                   position = underline_minimum_offset;
                }
              position = max (position, underline_minimum_offset);
            }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]