From: Kartik Thakore Date: Thu, 29 Oct 2009 17:11:43 +0000 (-0400) Subject: SDL::GetError to SDL::geterror in lib/SDL/App.pm X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e853497ac6c8b125554ca0f7e1c8463798717317;p=sdlgit%2FSDL_perl.git SDL::GetError to SDL::geterror in lib/SDL/App.pm --- diff --git a/lib/SDL/App.pm b/lib/SDL/App.pm index a3b0cb6..542b79f 100644 --- a/lib/SDL/App.pm +++ b/lib/SDL/App.pm @@ -113,7 +113,7 @@ sub new { } my $self = SDL::SetVideoMode($w,$h,$d,$f) - or croak SDL::GetError(); + or croak SDL::geterror(); if ($ic and -e $ic) { my $icon = new SDL::Surface -name => $ic; @@ -157,7 +157,7 @@ sub ticks { } sub error { - return SDL::GetError(); + return SDL::geterror(); } sub warp ($$$) {