diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-10 20:59:47 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-10 20:59:47 +0100 |
commit | 406ddaa73a75e34eb57db18dfc62c7d8208d141a (patch) | |
tree | 9bf07abbf8875e2028f8638e9878f86df62daa01 | |
parent | 0ae928ac85ed38fa60f19da615d3c1ce7849397b (diff) | |
download | sciteco-406ddaa73a75e34eb57db18dfc62c7d8208d141a.tar.gz |
ensure that string argument done() handlers never get a NULL pointer
* fixes EB$
-rw-r--r-- | parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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'; |