Browse Source

fix paste-buffer corruption bug

David Rose 20 years ago
parent
commit
c4306e0f4b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/tform/mouseWatcher.cxx

+ 1 - 1
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") {