GraphicsMagick: WPG: Fix comment type and whitespace issues.

GraphicsMagick Commits <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.cvs
Message-ID <mailman.17034.1638568183.1995.graphicsmagick-commit@lists.sourceforge.net>
changeset fdd638fb2313 in /hg/GraphicsMagick
details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=fdd638fb2313
summary: WPG: Fix comment type and whitespace issues.

diffstat:

 ChangeLog                              |   5 +++++
 VisualMagick/installer/inc/version.isx |   4 ++--
 coders/wpg.c                           |  24 ++++++++++++------------
 magick/version.h                       |   4 ++--
 www/Changelog.html                     |   4 ++++
 5 files changed, 25 insertions(+), 16 deletions(-)

diffs (107 lines):

diff -r 5ff36992c204 -r fdd638fb2313 ChangeLog
--- a/ChangeLog	Mon Nov 15 19:59:08 2021 -0600
+++ b/ChangeLog	Fri Dec 03 15:49:29 2021 -0600
@@ -1,3 +1,8 @@
+2021-12-03  Bob Friesenhahn  <[email protected]>
+
+        * coders/wpg.c (LoadWPG2Flags): Fix comment type and whitespace
+        issues.
+
 2021-11-15  Bob Friesenhahn  <[email protected]>
 
         * coders/caption.c (ReadCAPTIONImage): Set draw_info to NULL upon
diff -r 5ff36992c204 -r fdd638fb2313 VisualMagick/installer/inc/version.isx
--- a/VisualMagick/installer/inc/version.isx	Mon Nov 15 19:59:08 2021 -0600
+++ b/VisualMagick/installer/inc/version.isx	Fri Dec 03 15:49:29 2021 -0600
@@ -10,5 +10,5 @@
 
 #define public MagickPackageName "GraphicsMagick"
 #define public MagickPackageVersion "1.4"
-#define public MagickPackageVersionAddendum ".020211115"
-#define public MagickPackageReleaseDate "snapshot-20211115"
+#define public MagickPackageVersionAddendum ".020211203"
+#define public MagickPackageReleaseDate "snapshot-20211203"
diff -r 5ff36992c204 -r fdd638fb2313 coders/wpg.c
--- a/coders/wpg.c	Mon Nov 15 19:59:08 2021 -0600
+++ b/coders/wpg.c	Fri Dec 03 15:49:29 2021 -0600
@@ -421,13 +421,13 @@
 
   while(y<image->rows && image->exception.severity!=UndefinedException)
   {
-    if((long) x<ldblk) 
+    if((long) x<ldblk)
     {
       memset(BImgBuff+x, 0, (size_t)ldblk-(size_t)x);
       if(x == 0)
-        x = ldblk;	/* Do not memset any more */
+        x = ldblk;      /* Do not memset any more */
       else
-        x = 0;		/* Next pass will need to clear whole row */
+        x = 0;          /* Next pass will need to clear whole row */
     }
     if(InsertRow(BImgBuff,y,image,bpp) == MagickFail)
       {
@@ -529,12 +529,12 @@
             {           /* Here I need to duplicate previous row RUNCOUNT* */
                         /* when x=0; y points to a new empty line. For y=0 zero line will be populated. */
               if(y>=image->rows)
-                {                  
+                {
                   MagickFreeResourceLimitedMemory(BImgBuff);
                   return(-4);
                 }
               if(InsertRow(BImgBuff,y,image,bpp)==MagickFail)
-                { 
+                {
                   MagickFreeResourceLimitedMemory(BImgBuff);
                   return(-6);
                 }
@@ -762,13 +762,13 @@
         {
         if(Precision==0)
           {x = ReadBlobLSBShort(image);
-	   if(x >= 0x8000)
-	     {
-	     Precision = 1;	// Double precision Switched on.
-	     (void)ReadBlobLSBShort(image);
-	     //ObjectId = ((xW & 0x7FFF)<<16) | DenX;
-	     }
-	  }      /*ObjectID*/
+           if(x >= 0x8000)
+             {
+               Precision = 1;   /* Double precision Switched on. */
+             (void)ReadBlobLSBShort(image);
+             /* ObjectId = ((xW & 0x7FFF)<<16) | DenX; */
+             }
+          }      /*ObjectID*/
         else
           {/*x=*/ (void) ReadBlobLSBLong(image);}  /*ObjectID native (Double precision)*/
         }
diff -r 5ff36992c204 -r fdd638fb2313 magick/version.h
--- a/magick/version.h	Mon Nov 15 19:59:08 2021 -0600
+++ b/magick/version.h	Fri Dec 03 15:49:29 2021 -0600
@@ -38,8 +38,8 @@
 #define MagickLibVersion  0x252200
 #define MagickLibVersionText  "1.4"
 #define MagickLibVersionNumber 25,22,0
-#define MagickChangeDate   "20211115"
-#define MagickReleaseDate  "snapshot-20211115"
+#define MagickChangeDate   "20211203"
+#define MagickReleaseDate  "snapshot-20211203"
 
 /*
   The MagickLibInterfaceNewest and MagickLibInterfaceOldest defines
diff -r 5ff36992c204 -r fdd638fb2313 www/Changelog.html
--- a/www/Changelog.html	Mon Nov 15 19:59:08 2021 -0600
+++ b/www/Changelog.html	Fri Dec 03 15:49:29 2021 -0600
@@ -35,6 +35,10 @@
 <div class="document">
 
 
+<p>2021-12-03  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
+<blockquote>
+* coders/wpg.c (LoadWPG2Flags): Fix comment type and whitespace
+issues.</blockquote>
 <p>2021-11-15  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
 <blockquote>
 * coders/caption.c (ReadCAPTIONImage): Set draw_info to NULL upon
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.