aboutsummaryrefslogtreecommitdiffhomepage
path: root/parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parser.cpp')
-rw-r--r--parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.cpp b/parser.cpp
index 0c1a697..256356d 100644
--- a/parser.cpp
+++ b/parser.cpp
@@ -129,7 +129,7 @@ StateExpectString::custom(gchar chr)
}
if (g_ascii_toupper(chr) == escape_char) {
- State *next = done(strings[0]);
+ State *next = done(strings[0] ? : "");
undo.push_var<gchar>(escape_char);
escape_char = '\x1B';