about summary refs log tree commit diff
path: root/urt
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2020-04-20 03:30:09 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2020-04-20 03:30:09 +0000
commitdb9d507c16b89cc535e1da0522045f0644971941 (patch)
treed2e7ab7438bf6b9406371e16d453546a0cafb976 /urt
parent8f236be6d8a5c4ac239276986e3c33ee0cfdd545 (diff)
downloadnetpbm-mirror-db9d507c16b89cc535e1da0522045f0644971941.tar.gz
netpbm-mirror-db9d507c16b89cc535e1da0522045f0644971941.tar.xz
netpbm-mirror-db9d507c16b89cc535e1da0522045f0644971941.zip
Fix incorrect header, introduced with previous change
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3787 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'urt')
-rw-r--r--urt/rle_hdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/urt/rle_hdr.c b/urt/rle_hdr.c
index 1edb7a3f..bdb728d2 100644
--- a/urt/rle_hdr.c
+++ b/urt/rle_hdr.c
@@ -78,7 +78,7 @@ rle_names(rle_hdr *    const hdrP,
         hdrP->cmd = pm_strdup(newPgmname);
 
     if (hdrP->file_name != newFname)
-        hdrP->cmd = pm_strdup(newFname);
+        hdrP->file_name = pm_strdup(newFname);
 
     hdrP->img_num = imgNum;
 }