Skip to content

Commit

Permalink
Surface errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartik Thakore committed Aug 15, 2009
1 parent 1cf7cae commit 286406b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/SDL/Surface.pm
Expand Up @@ -210,7 +210,7 @@ sub blit {
unless $_[2]->isa('SDL::Surface');
}

SDL::BlitSurface(map { (defined($_) && $_ != 0)? ${$_} : croak "SDL::blit() Parameters need to be defined" } @_) if defined(@_);
SDL::BlitSurface(map { (defined($_) && $_ != 0)? ${$_} : $_ } @_) if defined(@_);
}

sub set_colors {
Expand Down

0 comments on commit 286406b

Please sign in to comment.