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

Fix typos found by codespell in ada #782

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contrib/ada/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ It provides Ada-style access to the ZLib C library.

Here are the main changes since ZLib.Ada 1.2:

- Attension: ZLib.Read generic routine have a initialization requirement
- Attention: ZLib.Read generic routine have a initialization requirement
for Read_Last parameter now. It is a bit incompartible with previous version,
but extends functionality, we could use new parameters Allow_Read_Some and
Flush now.
Expand Down
2 changes: 1 addition & 1 deletion contrib/ada/zlib-streams.ads
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ package ZLib.Streams is
:= Default_Buffer_Size;
Write_Buffer_Size : in Ada.Streams.Stream_Element_Offset
:= Default_Buffer_Size);
-- Create the Comression/Decompression stream.
-- Create the Compression/Decompression stream.
-- If mode is In_Stream then Write operation is disabled.
-- If mode is Out_Stream then Read operation is disabled.

Expand Down
2 changes: 1 addition & 1 deletion contrib/ada/zlib.adb
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ package body ZLib is
end if;

-- We allow ZLib to make header only in case of default header type.
-- Otherwise we would either do header by ourselfs, or do not do
-- Otherwise we would either do header by ourselves, or do not do
-- header at all.

if Header = None or else Header = GZip then
Expand Down
2 changes: 1 addition & 1 deletion contrib/ada/zlib.ads
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ package ZLib is
-- Compression strategy constants --
------------------------------------

-- RLE stategy could be used only in version 1.2.0 and later.
-- RLE strategy could be used only in version 1.2.0 and later.

Filtered : constant Strategy_Type;
Huffman_Only : constant Strategy_Type;
Expand Down