make url_regex const

This commit is contained in:
Daniel Micay 2012-06-25 03:00:18 -04:00
parent e39418eaca
commit eb5bf78048
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
# define __attribute__(x) # define __attribute__(x)
#endif #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 { typedef enum overlay_mode {
OVERLAY_HIDDEN = 0, OVERLAY_HIDDEN = 0,