changeset 8543:a03be411d008

(compute_motion): Use WIN's frame, not selected one.
author Richard M. Stallman <rms@gnu.org>
date Sun, 14 Aug 1994 09:15:39 +0000
parents 462c6cf489fb
children dc4a53a05b98
files src/indent.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/indent.c	Sun Aug 14 06:58:19 1994 +0000
+++ b/src/indent.c	Sun Aug 14 09:15:39 1994 +0000
@@ -579,7 +579,7 @@
 	    break;
 	  if (hscroll
 	      || (truncate_partial_width_windows
-		  && width + 1 < FRAME_WIDTH (selected_frame))
+		  && width + 1 < FRAME_WIDTH (XFRAME (WINDOW_FRAME (win))))
 	      || !NILP (current_buffer->truncate_lines))
 	    {
 	      /* Truncating: skip to newline.  */