Source/Dispenser.m
changeset 20 7c9ecb09a612
parent 9 a59acc683080
child 29 0b1c315ffc64
     1.1 --- a/Source/Dispenser.m	Thu May 29 15:04:06 2008 -0700
     1.2 +++ b/Source/Dispenser.m	Fri Jul 18 13:26:59 2008 -0700
     1.3 @@ -181,7 +181,7 @@
     1.4  {
     1.5      if( ! [_prototype isKindOfClass: [Piece class]] )
     1.6          return NO;
     1.7 -    CGImageRef image = GetCGImageFromPasteboard([sender draggingPasteboard]);
     1.8 +    CGImageRef image = GetCGImageFromPasteboard([sender draggingPasteboard],sender);
     1.9      if( image ) {
    1.10          [(Piece*)_prototype setImage: image];
    1.11          self.prototype = _prototype; // recreates _bit