From: Mika Lindqvist Date: Mon, 13 Mar 2017 22:10:43 +0000 (+0200) Subject: Fix typos. X-Git-Tag: 1.9.9-b1~666 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcca02c8d4670502872650698c8240a8b0ceb34b;p=thirdparty%2Fzlib-ng.git Fix typos. --- diff --git a/deflate_medium.c b/deflate_medium.c index 046449fb9..db5d09c6f 100644 --- a/deflate_medium.c +++ b/deflate_medium.c @@ -31,7 +31,7 @@ static int tr_tally_lit(deflate_state *s, int c) { static int emit_match(deflate_state *s, struct match match) { int flush = 0; - /* matches that are not long enough we need to emit as litterals */ + /* matches that are not long enough we need to emit as literals */ if (match.match_length < MIN_MATCH) { while (match.match_length) { flush += tr_tally_lit(s, s->window[match.strstart]); @@ -54,7 +54,7 @@ static void insert_match(deflate_state *s, struct match match) { if (unlikely(s->lookahead <= match.match_length + MIN_MATCH)) return; - /* matches that are not long enough we need to emit as litterals */ + /* matches that are not long enough we need to emit as literals */ if (match.match_length < MIN_MATCH) { #ifdef NOT_TWEAK_COMPILER while (match.match_length) { diff --git a/match.c b/match.c index 98310a329..87e3d9655 100644 --- a/match.c +++ b/match.c @@ -279,7 +279,7 @@ ZLIB_INTERNAL unsigned longest_match(deflate_state *const s, IPos cur_match) { /* longest_match() with minor change to improve performance (in terms of * execution time). * - * The pristine longest_match() function is sketched bellow (strip the + * The pristine longest_match() function is sketched below (strip the * then-clause of the "#ifdef UNALIGNED_OK"-directive) * * ------------------------------------------------------------