diff options
Diffstat (limited to 'src/search.cpp')
-rw-r--r-- | src/search.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/search.cpp b/src/search.cpp index de16b4f..7562096 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -250,7 +250,7 @@ StateSearch::pattern2regexp(const gchar *&pattern, temp = class2regexp(state, pattern); if (temp) { - new_re = g_strconcat(re ? : "", "[", temp, "]", NULL); + new_re = g_strconcat(re ? : "", "[", temp, "]", NIL); g_free(temp); g_free(re); re = new_re; @@ -275,7 +275,7 @@ StateSearch::pattern2regexp(const gchar *&pattern, temp = class2regexp(state, pattern, true); if (!temp) goto error; - new_re = g_strconcat(re ? : "", "[^", temp, "]", NULL); + new_re = g_strconcat(re ? : "", "[^", temp, "]", NIL); g_free(temp); g_free(re); re = new_re; @@ -303,7 +303,7 @@ StateSearch::pattern2regexp(const gchar *&pattern, temp = pattern2regexp(pattern, true); if (!temp) goto error; - new_re = g_strconcat(re ? : "", "(", temp, ")+", NULL); + new_re = g_strconcat(re ? : "", "(", temp, ")+", NIL); g_free(temp); g_free(re); re = new_re; |