comparison src/xdisp.c @ 8514:66866be86727

(display_text_line): Make previous change #ifdef HAVE_X_WINDOWS.
author Richard M. Stallman <rms@gnu.org>
date Thu, 11 Aug 1994 03:47:40 +0000
parents 64c299dd51b8
children 4d8d02befd11
comparison
equal deleted inserted replaced
8513:d11ec52807d6 8514:66866be86727
2488 int len = XSTRING (Voverlay_arrow_string)->size; 2488 int len = XSTRING (Voverlay_arrow_string)->size;
2489 int arrow_end; 2489 int arrow_end;
2490 2490
2491 if (len > width) 2491 if (len > width)
2492 len = width; 2492 len = width;
2493 #ifdef HAVE_X_WINDOWS
2493 if (!NULL_INTERVAL_P (XSTRING (Voverlay_arrow_string)->intervals)) 2494 if (!NULL_INTERVAL_P (XSTRING (Voverlay_arrow_string)->intervals))
2494 { 2495 {
2495 /* If the arrow string has text props, obey them when displaying. */ 2496 /* If the arrow string has text props, obey them when displaying. */
2496 for (i = 0; i < len; i++) 2497 for (i = 0; i < len; i++)
2497 { 2498 {
2504 newface = compute_glyph_face_1 (f, face, 0); 2505 newface = compute_glyph_face_1 (f, face, 0);
2505 leftmargin[i] = FAST_MAKE_GLYPH (c, newface); 2506 leftmargin[i] = FAST_MAKE_GLYPH (c, newface);
2506 } 2507 }
2507 } 2508 }
2508 else 2509 else
2510 #endif /* HAVE_X_WINDOWS */
2509 { 2511 {
2510 for (i = 0; i < len; i++) 2512 for (i = 0; i < len; i++)
2511 leftmargin[i] = p[i]; 2513 leftmargin[i] = p[i];
2512 } 2514 }
2513 2515