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=024e1250587df1741ca3f33639f7c56af96d08a8;hp=72a86b34f7cc7a8ddc7f463d3295f3e49d75084e;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); }