aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-theme.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-12-10 00:19:41 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-12-10 00:19:41 +0800
commitfa546c34576eafba2426326bab805b45f005dac3 (patch)
tree4d85988c2440bcf128fb630224de881c7bf4c82d /libempathy-gtk/empathy-theme.c
parent015167fb0beb6a2893e6524129b22ec133210ad5 (diff)
downloadgsoc2013-empathy-fa546c34576eafba2426326bab805b45f005dac3.tar
gsoc2013-empathy-fa546c34576eafba2426326bab805b45f005dac3.tar.gz
gsoc2013-empathy-fa546c34576eafba2426326bab805b45f005dac3.tar.bz2
gsoc2013-empathy-fa546c34576eafba2426326bab805b45f005dac3.tar.lz
gsoc2013-empathy-fa546c34576eafba2426326bab805b45f005dac3.tar.xz
gsoc2013-empathy-fa546c34576eafba2426326bab805b45f005dac3.tar.zst
gsoc2013-empathy-fa546c34576eafba2426326bab805b45f005dac3.zip
Correct typo: SHEME -> SCHEME
svn path=/trunk/; revision=1955
Diffstat (limited to 'libempathy-gtk/empathy-theme.c')
-rw-r--r--libempathy-gtk/empathy-theme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-theme.c b/libempathy-gtk/empathy-theme.c
index 1e0e9895d..fdff379ee 100644
--- a/libempathy-gtk/empathy-theme.c
+++ b/libempathy-gtk/empathy-theme.c
@@ -34,11 +34,11 @@
/* Number of seconds between timestamps when using normal mode, 5 minutes. */
#define TIMESTAMP_INTERVAL 300
-#define SHEMES "(https?|ftps?|nntp|news|javascript|about|ghelp|apt|telnet|"\
+#define SCHEMES "(https?|ftps?|nntp|news|javascript|about|ghelp|apt|telnet|"\
"file|webcal|mailto)"
#define SEPARATOR "([^,;\?><()\\ ])"
#define BODY "([^\\ ]*(\\\\ )?)+"
-#define URI_REGEX "("SHEMES"://"BODY SEPARATOR")" \
+#define URI_REGEX "("SCHEMES"://"BODY SEPARATOR")" \
"|((mailto:)?"BODY"@"BODY"\\."BODY SEPARATOR")"\
"|((www|ftp)."BODY SEPARATOR")"
static GRegex *uri_regex = NULL;