From: Kartik Thakore Date: Thu, 1 Oct 2009 11:03:44 +0000 (-0400) Subject: wow .. I don't even know how this fixes sound X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8ded864f4474cea9a1547cbb8f15620ce911ff90;p=sdlgit%2FSDL_perl.git wow .. I don't even know how this fixes sound --- diff --git a/lib/SDL/Cursor.pm b/lib/SDL/Cursor.pm index d434e83..58d2dca 100644 --- a/lib/SDL/Cursor.pm +++ b/lib/SDL/Cursor.pm @@ -69,6 +69,7 @@ sub get () { sub show ($;$) { my ($self,$toggle) = @_; + $toggle = 0 unless defined $toggle; SDL::ShowCursor($toggle); }