summaryrefslogtreecommitdiff
path: root/src/cmd4.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd4.cc')
-rw-r--r--src/cmd4.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd4.cc b/src/cmd4.cc
index dc437272..046075f2 100644
--- a/src/cmd4.cc
+++ b/src/cmd4.cc
@@ -3363,7 +3363,7 @@ void do_cmd_knowledge_traps(void)
if (!t_ptr->ident) continue;
/* Hack -- Build the trap name */
- fprintf(fff, " %s\n", t_name + t_ptr->name);
+ fprintf(fff, " %s\n", t_ptr->name);
}
/* Close the file */