summaryrefslogtreecommitdiff
path: root/src/help.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/help.cc')
-rw-r--r--src/help.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/help.cc b/src/help.cc
index f8d75e79..55051bfa 100644
--- a/src/help.cc
+++ b/src/help.cc
@@ -713,9 +713,9 @@ void help_subrace(cptr subrace)
show_context_help(find_context_help(subrace_table, subrace));
}
-void help_class(cptr klass)
+void help_class(std::string const &klass)
{
- show_context_help(find_context_help(class_table, klass));
+ show_context_help(find_context_help(class_table, klass.c_str()));
}
void help_god(cptr god)