From a080486e57ba53ae98ea061603219d97b6cc75c7 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Tue, 29 Sep 1992 04:54:28 +0000 Subject: * data.c (Frem): Use the `fmod' function under SunOS, Ultrix, and HP/UX, not just under USG systems. --- src/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/buffer.c') diff --git a/src/buffer.c b/src/buffer.c index 80d4ece06a1..1d363738342 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -931,7 +931,7 @@ If BUFFER is omitted, the current buffer is buried.") } /* Remove it from the screen. */ - if (EQ (buf, XWINDOW (selected_frame)->buffer)) + if (EQ (buf, XWINDOW (selected_window)->buffer)) Fswitch_to_buffer (Fother_buffer (buf), Qnil); /* Move it to the end of the buffer list. */ -- cgit v1.2.1