From c4306e0f4ba09df054412460d8ca9ce7c18de208 Mon Sep 17 00:00:00 2001 From: David Rose Date: Sun, 26 Feb 2006 15:42:57 +0000 Subject: [PATCH] fix paste-buffer corruption bug --- panda/src/tform/mouseWatcher.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/tform/mouseWatcher.cxx b/panda/src/tform/mouseWatcher.cxx index e6d2ee6b83..e6e510c98b 100644 --- a/panda/src/tform/mouseWatcher.cxx +++ b/panda/src/tform/mouseWatcher.cxx @@ -679,7 +679,7 @@ throw_event_pattern(const string &pattern, const MouseWatcherRegion *region, p++; if (cmd == "r") { if (region != (MouseWatcherRegion *)NULL) { - event += button_name; + event += region->get_name(); } } else if (cmd == "b") {