From 079fc4c43c63a3257212d683b87ce7c9f1e02ffa Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Tue, 3 Nov 2009 20:51:17 -0500 Subject: [PATCH] Add regexp error handler. Fixes issue #152. --- cmd/wmii/main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmd/wmii/main.c b/cmd/wmii/main.c index 848f0310..91095757 100644 --- a/cmd/wmii/main.c +++ b/cmd/wmii/main.c @@ -156,6 +156,11 @@ ErrorCode ignored_xerrors[] = { { 0, } }; +void +regerror(char *err) { + fprint(2, "%s: %s\n", argv0, err); +} + void init_screens(void) { Rectangle *rects;