GraphicsMagick: coders/tga.c Remove junk \n from log after print...

GraphicsMagick Commits <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.cvs
Message-ID <mailman.12862.1667516907.1567.graphicsmagick-commit@lists.sourceforge.net>
changeset a711b71164ce in /hg/GraphicsMagick
details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=a711b71164ce
summary: coders/tga.c Remove junk \n from log after printing footer contents.

diffstat:

 ChangeLog    |  4 ++++
 coders/tga.c |  6 +++---
 2 files changed, 7 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r 053089c6ef0c -r a711b71164ce ChangeLog
--- a/ChangeLog	Thu Nov 03 09:09:54 2022 -0500
+++ b/ChangeLog	Fri Nov 04 00:08:01 2022 +0100
@@ -1,3 +1,7 @@
+2022-11-04 Fojtik Jaroslav  <[email protected]>
+
+        * coders/tga.c Remove junk \n from log after printing footer contents.
+
 2022-11-03  Fojtik Jaroslav  <[email protected]>
 
 	* PerlMagick/t/input_3chars.xpm New testcase
diff -r 053089c6ef0c -r a711b71164ce coders/tga.c
--- a/coders/tga.c	Thu Nov 03 09:09:54 2022 -0500
+++ b/coders/tga.c	Fri Nov 04 00:08:01 2022 +0100
@@ -209,7 +209,7 @@
                         "Targa Footer:\n"
                         "    ExtensionOffset     : %u\n"
                         "    DevelopperDirOffset : %u\n"
-                        "    Signature           : %s\n",
+                        "    Signature           : %s",
                                ptga_footer->ExtensionOffset,
                                ptga_footer->DevelopperDirOffset,
 			       ptga_footer->Signature);
@@ -234,10 +234,10 @@
                         "    Color Correction Offset: %u\n"
                         "    Postage Stamp Offset: %u\n"
                         "    Scan Line Offset    : %u\n"
-                        "    Attributes Type     : %u\n",
+                        "    Attributes Type     : %u",
                                ptga_devel->ExtensionSize,
                                ptga_devel->Author,
-			       ptga_devel->Comments,
+                               ptga_devel->Comments,
                                ptga_devel->TimeStamp[0], ptga_devel->TimeStamp[1], ptga_devel->TimeStamp[2],
                                ptga_devel->TimeStamp[3], ptga_devel->TimeStamp[4], ptga_devel->TimeStamp[5],
                                ptga_devel->JobNameID,
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.