]> granicus.if.org Git - libjpeg-turbo/commitdiff
wrjpgcom: Fix comment typo
authornyg <nyg@users.noreply.github.com>
Tue, 5 Sep 2017 16:23:04 +0000 (18:23 +0200)
committerDRC <information@libjpeg-turbo.org>
Tue, 5 Sep 2017 16:23:56 +0000 (11:23 -0500)
Comment was copied/pasted from skip_variable() without making the
necessary modifications.

wrjpgcom.c

index c970757568659cb2f7f8f0a71460d0e12840acd6..531c15282588d5c3265ebff7205d2a60dc7e50bc 100644 (file)
@@ -247,7 +247,7 @@ copy_variable (void)
   if (length < 2)
     ERREXIT("Erroneous JPEG marker length");
   length -= 2;
-  /* Skip over the remaining bytes */
+  /* Copy the remaining bytes */
   while (length > 0) {
     write_1_byte(read_1_byte());
     length--;