From 95296038fe6d3793fc08e9e61dcd08e39678fa75 Mon Sep 17 00:00:00 2001 From: dragon66 Date: Sun, 11 Aug 2024 09:29:19 -0400 Subject: [PATCH] Fix typo --- src/com/icafe4j/image/png/PNGTweaker.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/icafe4j/image/png/PNGTweaker.java b/src/com/icafe4j/image/png/PNGTweaker.java index ed2d6e22..b80561f6 100644 --- a/src/com/icafe4j/image/png/PNGTweaker.java +++ b/src/com/icafe4j/image/png/PNGTweaker.java @@ -509,7 +509,7 @@ else if (entry.getKey().equals("Raw profile type iptc")) { int length = Integer.parseInt(iptc[1].trim()); StringBuffer sb = new StringBuffer(); for(int i = 2; i < iptc.length; i++) { - sb.appen(iptc[i]); + sb.append(iptc[i]); } byte[] data = StringUtils.hexStringToByteArray(sb.toString()); metadataMap.put(MetadataType.PHOTOSHOP_IRB, new IRB(data)); @@ -526,7 +526,7 @@ else if (entry.getKey().equals("Raw profile type iptc")) { int length = Integer.parseInt(exif[1].trim()); StringBuffer sb = new StringBuffer(); for(int i = 2; i < exif.length; i++) { - sb.appen(exif[i]); + sb.append(exif[i]); } // Need to strip out exif header before passing to JpegExif constructor byte[] data = StringUtils.hexStringToByteArray(sb.toString().substring(12));