about summary refs log tree commit diff
path: root/urt
diff options
context:
space:
mode:
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;
 }