summaryrefslogtreecommitdiff
path: root/sys/src
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-02-05 08:25:01 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2014-02-05 08:25:01 +0100
commit0b1c655160eab79a8066174c113f2025a83dc14c (patch)
treefed52bf2fc746f9724b5fb9449f2f188b7f58b70 /sys/src
parentc6b4b7c0f0d3e0dda5e8bae69ec41a3098043902 (diff)
mothra: dont panic on invalid regular expression in searchbox
Diffstat (limited to 'sys/src')
-rw-r--r--sys/src/cmd/mothra/mothra.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/src/cmd/mothra/mothra.c b/sys/src/cmd/mothra/mothra.c
index fef7c9573..485ded812 100644
--- a/sys/src/cmd/mothra/mothra.c
+++ b/sys/src/cmd/mothra/mothra.c
@@ -699,6 +699,8 @@ void docmd(Panel *p, char *s){
pldraw(root, screen);
}
+void regerror(char*){} /* don't panic */
+
void search(void){
static char last[256];
char buf[256];