Skip to content

Commit

Permalink
B3ULxJ2: Fixed second programlisting's indentation && spaced long URL…
Browse files Browse the repository at this point in the history
… onto own line.
  • Loading branch information
pip committed Mar 31, 2011
1 parent 2cc19e9 commit a8a2f00
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/00-preface.pod
Expand Up @@ -67,19 +67,19 @@ while drawing a blue rectangle in the C<SDLx::*> layer is as simple as:


=begin programlisting =begin programlisting


use strict; use strict;
use warnings; use warnings;


use SDL; use SDL;
use SDLx::App; use SDLx::App;


my $app = SDLx::App->new( width=> 800, height => 600 ); my $app = SDLx::App->new( width=> 800, height => 600 );


$app->draw_rect([ $app->width/4, $app->height / 4, $app->width /2, $app->height / 2 ], [0,0,255,255] ); $app->draw_rect([ $app->width/4, $app->height / 4, $app->width /2, $app->height / 2 ], [0,0,255,255] );


$app->update(); $app->update();


sleep(5); sleep(5);


=end programlisting =end programlisting


Expand Down Expand Up @@ -200,8 +200,9 @@ If you need help with SDL Perl, send an X<e-mail> to C<sdl-devel@Perl.Org>.


=head1 Examples =head1 Examples


The code examples in this book are provided at The code examples in this book are provided at:
L<HTTP://GitHub.Com/PerlGameDev/SDL_Manual/tree/master/code_listings/>.
L<HTTP://GitHub.Com/PerlGameDev/SDL_Manual/tree/master/code_listings/>


=head1 Acknowledgements =head1 Acknowledgements


Expand Down Expand Up @@ -233,7 +234,6 @@ Thanks to contributors and reviewers from the C<#sdl> channel, including:


=item and many more =item and many more


(Apologies if I have missed you; let me know I will add you.) (Apologies if I have missed you; let me know and I will add you.)


=back =back

0 comments on commit a8a2f00

Please sign in to comment.