summaryrefslogtreecommitdiff
path: root/src/init1.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/init1.cc')
-rw-r--r--src/init1.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/init1.cc b/src/init1.cc
index fb44c99b..658cf8e2 100644
--- a/src/init1.cc
+++ b/src/init1.cc
@@ -5669,10 +5669,10 @@ errr init_st_info_txt(FILE *fp)
/* Point at the "info" */
st_ptr = &expand_to_fit_index(st_info, i);
- assert(!st_ptr->name);
+ assert(st_ptr->name.empty());
/* Copy name */
- st_ptr->name = my_strdup(s);
+ st_ptr->name = s;
/* Next... */
continue;