]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix type mixup in haikuselect.c
authorPo Lu <luangruo@yahoo.com>
Sat, 18 Jun 2022 06:04:24 +0000 (06:04 +0000)
committerPo Lu <luangruo@yahoo.com>
Sat, 18 Jun 2022 06:04:44 +0000 (06:04 +0000)
* src/haikuselect.c (haiku_lisp_to_message): Fix variable mixup.
Found with --enable-check-lisp-object-type.

src/haikuselect.c

index 8a7b6f2e0b102f2e5a3e7dea25c2ab2717c98a32..b2783a56a11e0938409a9702520eea19b051531d 100644 (file)
@@ -515,7 +515,7 @@ haiku_lisp_to_message (Lisp_Object obj, void *message)
              unblock_input ();
 
              if (rc)
-               signal_error ("Invalid message", msg_data);
+               signal_error ("Invalid message", data);
              unbind_to (ref, Qnil);
              break;