commit 94121654ae1ee541fa6f96b2954a9d966c8882d4
parent 707c92d9d9d5fb128f976c4d450eb854baa72325
Author: Svyatoslav Mishyn <juef@openmailbox.org>
Date: Tue, 9 Aug 2016 16:19:22 +0300
config.def.h: fix a warning
unknown escape sequence: '\.'
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/config.def.h b/config.def.h
@@ -2,8 +2,8 @@
static const Pair pairs[] = {
/* regex action */
- { "\.(jpg|png|tiff)$", "feh %s" },
- { "\.gif$", "wget -O /tmp/tmp_gifview.gif %s && gifview -a /tmp/tmp_gifview.gif" },
- { "\.mp3$", "st -e mplayer %s" },
- { "^(http://|https://)?(www\.)?(youtube.com/watch\?|youtu\.be/)", "youtube-viewer %s" }
+ { "\\.(jpg|png|tiff)$", "feh %s" },
+ { "\\.gif$", "wget -O /tmp/tmp_gifview.gif %s && gifview -a /tmp/tmp_gifview.gif" },
+ { "\\.mp3$", "st -e mplayer %s" },
+ { "^(http://|https://)?(www\\.)?(youtube.com/watch\\?|youtu\\.be/)", "youtube-viewer %s" }
};