From eb5bf7804879955e16ae13bae2005ec7bcd6f5de Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Mon, 25 Jun 2012 03:00:18 -0400 Subject: [PATCH] make url_regex const --- termite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/termite.c b/termite.c index 31acd96..69fe02a 100644 --- a/termite.c +++ b/termite.c @@ -10,7 +10,7 @@ # define __attribute__(x) #endif -static const char *url_regex = "(ftp|http)s?://[-a-zA-Z0-9.?$%&/=_~#.,:;+()]*"; +static const char * const url_regex = "(ftp|http)s?://[-a-zA-Z0-9.?$%&/=_~#.,:;+()]*"; typedef enum overlay_mode { OVERLAY_HIDDEN = 0,