diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-13 11:02:27 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-13 11:02:27 +0100 |
commit | c44d0cb31307712c6ebf65dd92241b61282abc62 (patch) | |
tree | fabeefaf769e35fefb56e782cc6b59580b083f56 | |
parent | 3236a520ba677f963b0bba1ce0977a4d99d1df7c (diff) | |
download | sciteco-c44d0cb31307712c6ebf65dd92241b61282abc62.tar.gz |
minor simplification
-rw-r--r-- | parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -988,7 +988,7 @@ StateSearch::initial(void) static inline const gchar * regexp_escape_chr(gchar chr) { - static gchar escaped[3] = {'\\', '\0', '\0'}; + static gchar escaped[] = {'\\', '\0', '\0'}; escaped[1] = chr; return g_ascii_isalnum(chr) ? escaped + 1 : escaped; |