changeset 15794:c741a26258ce

Fix previous change.
author Richard M. Stallman <rms@gnu.org>
date Sun, 28 Jul 1996 00:42:14 +0000
parents fc460a98a7f9
children 2f51ebe36ab0
files src/xterm.c
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Sat Jul 27 20:30:31 1996 +0000
+++ b/src/xterm.c	Sun Jul 28 00:42:14 1996 +0000
@@ -4052,8 +4052,12 @@
 		  }
 		else if (event.type == ButtonRelease)
 		  {
-		    if (!f) f = last_mouse_press_frame;
-		    SET_SAVED_BUTTON_EVENT;
+		    if (!f)
+		      f = last_mouse_press_frame;
+		    if (f)
+		      {
+			SET_SAVED_BUTTON_EVENT;
+		      }
 		  }
 		else
 		  goto OTHER;