summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/textual.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textual.cc b/src/textual.cc
index dfca7943..d953da26 100644
--- a/src/textual.cc
+++ b/src/textual.cc
@@ -713,7 +713,7 @@ void instance_t::master_account_directive(char * line)
void instance_t::end_directive(char * kind)
{
- string name(kind);
+ string name(kind ? kind : "");
if ((name.empty() || name == "account") && ! context.front_is_account())
throw_(std::runtime_error,