emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/xdisp.c,v


From: Kenichi Handa
Subject: [Emacs-diffs] Changes to emacs/src/xdisp.c,v
Date: Wed, 06 Feb 2008 11:54:52 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Kenichi Handa <handa>   08/02/06 11:54:51

Index: xdisp.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/xdisp.c,v
retrieving revision 1.1181
retrieving revision 1.1182
diff -u -b -r1.1181 -r1.1182
--- xdisp.c     1 Feb 2008 16:00:45 -0000       1.1181
+++ xdisp.c     6 Feb 2008 11:54:51 -0000       1.1182
@@ -21398,8 +21398,11 @@
 
       it->pixel_width = cmp->pixel_width;
       it->ascent = it->phys_ascent = cmp->ascent;
+      if (it->ascent < 0)
+       it->ascent = it->phys_ascent = 0;
       it->descent = it->phys_descent = cmp->descent;
-
+      if (it->descent < 0)
+       it->descent = it->phys_descent = 0;
       if (face->box != FACE_NO_BOX)
        {
          int thick = face->box_line_width;




reply via email to

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