diff options
author | Elliott Sales de Andrade <qulogic@pidgin.im> | 2012-07-21 03:02:07 -0400 |
---|---|---|
committer | Elliott Sales de Andrade <qulogic@pidgin.im> | 2012-07-21 03:02:07 -0400 |
commit | 28b13576f46110474992fa58739a3865a9d24c9e (patch) | |
tree | ba596be7d9035b83003f6aab5bbea80c4e0bc9e9 | |
parent | 03a4c4d3ba09a8418191db3b0189446867ee0b83 (diff) | |
download | pidgin-28b13576f46110474992fa58739a3865a9d24c9e.tar.gz |
Don't compile Debug Window regex with G_REGEX_EXTENDED.
That flag causes whitespace to be ignored, and I don't think a
user typing stuff in the entry would expect that.
-rw-r--r-- | pidgin/gtkdebug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pidgin/gtkdebug.c b/pidgin/gtkdebug.c index 1469d573b5..367b8c0352 100644 --- a/pidgin/gtkdebug.c +++ b/pidgin/gtkdebug.c @@ -340,7 +340,7 @@ regex_compile(DebugWindow *win) { if (win->regex) g_regex_unref(win->regex); - win->regex = g_regex_new(text, G_REGEX_EXTENDED | G_REGEX_CASELESS, 0, NULL); + win->regex = g_regex_new(text, G_REGEX_CASELESS, 0, NULL); if(win->regex == NULL) { /* failed to compile */ regex_change_color(win->expression, 0xFFFF, 0xAFFF, 0xAFFF); |