[05/20] Fix spelling mistakes in comments in Ada source files
Commit Message
zlib/ChangeLog:
* zlib/contrib/ada/zlib-streams.ads: Fix spelling in comments.
* zlib/contrib/ada/zlib-thin.ads: Fix spelling in comments.
* zlib/contrib/ada/zlib.ads: Fix spelling in comments.
---
zlib/contrib/ada/zlib-streams.ads | 6 +++---
zlib/contrib/ada/zlib-thin.ads | 2 +-
zlib/contrib/ada/zlib.ads | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
@@ -31,7 +31,7 @@ package ZLib.Streams is
Mode : in Flush_Mode := Sync_Flush);
-- Flush the written data to the back stream,
-- all data placed to the compressor is flushing to the Back stream.
- -- Should not be used untill necessary, becouse it is decreasing
+ -- Should not be used until necessary, because it is decreasing
-- compression.
function Read_Total_In (Stream : in Stream_Type) return Count;
@@ -97,13 +97,13 @@ private
Rest_Last : Stream_Element_Offset;
-- Buffer for Read operation.
-- We need to have this buffer in the record
- -- becouse not all read data from back stream
+ -- because not all read data from back stream
-- could be processed during the read operation.
Buffer_Size : Stream_Element_Offset;
-- Buffer size for write operation.
-- We do not need to have this buffer
- -- in the record becouse all data could be
+ -- in the record because all data could be
-- processed in the write operation.
Back : Stream_Access;
@@ -436,7 +436,7 @@ private
pragma Import (C, inflateBackInit, "inflateBackInit_");
- -- I stopped binding the inflateBack routines, becouse realize that
+ -- I stopped binding the inflateBack routines, because realize that
-- it does not support zlib and gzip headers for now, and have no
-- symmetric deflateBack routines.
-- ZLib-Ada is symmetric regarding deflate/inflate data transformation
@@ -260,7 +260,7 @@ package ZLib is
(Item : out Ada.Streams.Stream_Element_Array;
Last : out Ada.Streams.Stream_Element_Offset);
-- User should provide data for compression/decompression
- -- thru this routine.
+ -- through this routine.
Buffer : in out Ada.Streams.Stream_Element_Array;
-- Buffer for keep remaining data from the previous