From: Kartik Thakore Date: Tue, 11 Aug 2009 09:43:13 +0000 (-0400) Subject: More typo fixes X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=99734ed6b24aec67352f63ac6d27976a3c8cfab5;p=sdlgit%2FSDL_perl.git More typo fixes --- diff --git a/make/lib/SDL/Build/MSWin32.pm b/make/lib/SDL/Build/MSWin32.pm index 9f44bab..957d7e5 100644 --- a/make/lib/SDL/Build/MSWin32.pm +++ b/make/lib/SDL/Build/MSWin32.pm @@ -39,9 +39,8 @@ use File::Spec::Functions; sub fetch_includes { - warn "Environment variable INCLUDE is empty\n" unless $ENV{INCLUDE} - and - return map { $_ => 1 } grep { $_ } split( ';', $ENV{INCLUDE} ); + warn "Environment variable INCLUDE is empty\n" unless $ENV{INCLUDE}; + return map { $_ => 1 } grep { $_ } split( ';', $ENV{INCLUDE} ) if $ENV{INCLUDE}; return '-I.'; } @@ -171,7 +170,7 @@ sub alt_compile_flags my $self = shift; my $sdl_dir = shift; - return $self->SUPER::alt_compile_flages($sdl_dir).' -D_GNU_SOURCE=1 -Dmain=SDL_main'; + return $self->SUPER::alt_compile_flags($sdl_dir).' -D_GNU_SOURCE=1 -Dmain=SDL_main'; } 1;