Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continue to fix small errors in pods #230

Closed
wants to merge 11 commits into from
2 changes: 1 addition & 1 deletion inc/My/Builder.pm
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ sub process_pod_files {

my $files = $self->_find_file_by_type($ext, 'lib');
while (my ($file, $dest) = each %$files) {
$dest =~ s!^lib/\Kpods/!!;
$dest =~ s!^(lib/)pods/!$1!;
$self->copy_if_modified(from => $file, to => File::Spec->catfile($self->blib, $dest));
}
}
Expand Down
4 changes: 2 additions & 2 deletions lib/pods/SDL/Event.pod
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ and it is then up to the application to process the information stored with them

=head2 new

C<new> creates an empty event-object, which can be used store information.
C<new> creates an empty event-object, which can be used to store information.
Either by calling C<poll_event($event)> that transfers one event from the queue into our object
or by setting all the needed data manually in order to push the event to the queue.

Expand Down Expand Up @@ -329,7 +329,7 @@ If the high 9 bits of the character are 0, then this maps to the equivalent ASCI
print("An International Character.\n");
}

UNICODE translation does create a slight overhead so don't enable it unless its needed.
UNICODE translation does create a slight overhead, so don't enable it unless it's needed.

NOTE: Key release events (SDL_KEYUP) won't necessarily (ever?) contain unicode information.
See L<http://lists.libsdl.org/pipermail/sdl-libsdl.org/2005-January/048355.html>
Expand Down
2 changes: 1 addition & 1 deletion lib/pods/SDL/RWOps.pod
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Note: You must free any memory allocated with SDL::alloc_rw with SDL::free_rw.
=head2 free_rw(context)

SDL::free_rw frees an SDL::RWOps structure previously allocated by SDL::alloc_rw. Only use it on memory allocated by SDL::alloc_rw.
It doesn't returns anything.
It doesn't return anything.


=head2 rw_seek(ctx,offset,whence)
Expand Down
12 changes: 6 additions & 6 deletions lib/pods/SDL/Video.pod
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ rectangle will be drawn into.
The rectangle pointed to by rect will be clipped to the edges of the surface so that the clip rectangle for a surface can never fall
outside the edges of the surface.
If rect is NULL the clipping rectangle will be set to the full size of the surface.
C<SDL::Video::set_clip_rect> doesn't returns anything.
C<SDL::Video::set_clip_rect> doesn't return anything.

=head2 get_clip_rect

Expand All @@ -658,7 +658,7 @@ C<SDL::Video::set_clip_rect> doesn't returns anything.
Gets the clipping rectangle for the given L<SDL::Surface>. When this surface is the destination of a blit, only the area within the clip
rectangle is drawn into.
The rectangle pointed to by rect will be filled with the clipping rectangle of the surface.
C<SDL::Video::get_clip_rect> doesn't returns anything;
C<SDL::Video::get_clip_rect> doesn't return anything;

use SDL;
use SDL::Video;
Expand Down Expand Up @@ -693,7 +693,7 @@ with OpenGL.

The results of blitting operations vary greatly depending on whether C<SDL_SRCALPHA> is set or not. See L<SDL::Video::set_alpha|/set_alpha>
for an explanation of how this affects your results. Colorkeying and alpha attributes also interact with surface blitting.
C<SDL::Video::blit_surface> doesn't returns anything.
C<SDL::Video::blit_surface> doesn't return anything.

For an example see L<SDL::Video::load_BMP|/load_BMP>.

Expand All @@ -703,7 +703,7 @@ For an example see L<SDL::Video::load_BMP|/load_BMP>.

Makes sure the given area is updated on the given screen.
The rectangle must be confined within the screen boundaries because there's no clipping.
update_rect doesn't returns any value.
update_rect doesn't return any value.

B<Note>: This function should not be called while screen is locked by L<SDL::Video::lock_surface|/lock_surface>

Expand All @@ -717,7 +717,7 @@ For an example see L<SYNOPSIS|/SYNOPSIS>

Makes sure the given list of rectangles is updated on the given screen.
The rectangle must be confined within the screen boundaries because there's no clipping.
C<update_rects> doesn't returns any value.
C<update_rects> doesn't return any value.

B<Note>: This function should not be called while screen is locked by L<SDL::Video::lock_surface|/lock_surface>.

Expand Down Expand Up @@ -1189,7 +1189,7 @@ Example:
SDL::Video::GL_swap_buffers();

Swap the OpenGL buffers, if double-buffering is supported.
C<SDL::Video::GL_swap_buffers> doesn't returns any value.
C<SDL::Video::GL_swap_buffers> doesn't return any value.

=head1 Video Overlay Functions

Expand Down