projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d9e5ba
)
Fix compilation warning/error in --without-x builds
author
Eli Zaretskii
<eliz@gnu.org>
Mon, 8 Jun 2015 18:15:05 +0000
(21:15 +0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Mon, 8 Jun 2015 18:15:05 +0000
(21:15 +0300)
* src/xdisp.c (append_space_for_newline): Condition GUI-specific
code on HAVE_WINDOW_SYSTEM.
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index 14385fa84214bd3c19216787478a43381ba43fc2..f0e30900043cdc90e6be82c52d9218539759dbef 100644
(file)
--- 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;