Source/Dispenser.m
changeset 27 b0affce7beb1
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	Tue Mar 10 22:36:23 2009 -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