Fix previous change.
authorRichard M. Stallman <rms@gnu.org>
Sun, 28 Jul 1996 00:42:14 +0000 (00:42 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 28 Jul 1996 00:42:14 +0000 (00:42 +0000)
src/xterm.c

index 1b91915..1671158 100644 (file)
@@ -4052,8 +4052,12 @@ XTread_socket (sd, bufp, numchars, waitp, expected)
                  }
                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;