emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 55200b4: Fix compilation warning/error in --without


From: Eli Zaretskii
Subject: [Emacs-diffs] master 55200b4: Fix compilation warning/error in --without-x builds
Date: Mon, 08 Jun 2015 18:16:30 +0000

branch: master
commit 55200b4ca595cf1588fd0cefcece151ac84cb19a
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Fix compilation warning/error in --without-x builds
    
    * src/xdisp.c (append_space_for_newline): Condition GUI-specific
    code on HAVE_WINDOW_SYSTEM.
---
 src/xdisp.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/xdisp.c b/src/xdisp.c
index 14385fa..f0e3090 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -19200,6 +19200,7 @@ append_space_for_newline (struct it *it, bool 
default_face_p)
 
          PRODUCE_GLYPHS (it);
 
+#ifdef HAVE_WINDOW_SYSTEM
          /* Make sure this space glyph has the right ascent and
             descent values, or else cursor at end of line will look
             funny.  */
@@ -19216,6 +19217,7 @@ append_space_for_newline (struct it *it, bool 
default_face_p)
 
          g->ascent = it->max_ascent;
          g->descent = it->max_descent;
+#endif
 
          it->override_ascent = -1;
          it->constrain_row_ascent_descent_p = false;



reply via email to

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