summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-08-11 03:47:40 +0000
committerRichard M. Stallman <rms@gnu.org>1994-08-11 03:47:40 +0000
commitf4b160d9fbe5b978b06f246da912470519739e42 (patch)
tree76751bff9371ea6869201a50313040a480ac93c4
parentb3cc4fd34929b8c4c50e2d9f5a9acea624c8c4c0 (diff)
downloademacs-f4b160d9fbe5b978b06f246da912470519739e42.tar.gz
(display_text_line): Make previous change #ifdef HAVE_X_WINDOWS.
-rw-r--r--src/xdisp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 571db0fc91d..4af4988c3ba 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -2490,6 +2490,7 @@ display_text_line (w, start, vpos, hpos, taboffset)
if (len > width)
len = width;
+#ifdef HAVE_X_WINDOWS
if (!NULL_INTERVAL_P (XSTRING (Voverlay_arrow_string)->intervals))
{
/* If the arrow string has text props, obey them when displaying. */
@@ -2506,6 +2507,7 @@ display_text_line (w, start, vpos, hpos, taboffset)
}
}
else
+#endif /* HAVE_X_WINDOWS */
{
for (i = 0; i < len; i++)
leftmargin[i] = p[i];