diff options
author | Daniel Jones <admin@danieljon.es> | 2019-03-12 11:03:32 +1030 |
---|---|---|
committer | Daniel Jones <admin@danieljon.es> | 2019-03-12 11:03:32 +1030 |
commit | c8f409de751a8a9b8e7d33c81c86faf70a542b5f (patch) | |
tree | 1363ca1d99d4fd607a3f05067df144ab91d6c823 | |
parent | bd2fad50bb43b39b5e11209a2e69f964fba2b665 (diff) | |
download | urlopener-c8f409de751a8a9b8e7d33c81c86faf70a542b5f.tar.gz urlopener-c8f409de751a8a9b8e7d33c81c86faf70a542b5f.zip |
some comments
-rw-r--r-- | urlopen.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -31,6 +31,10 @@ char *programs[][2] = { + /* + * the file extensions and program to associate with them + * separate extensions using ',' + */ {"default", /* this is the default program */ "/usr/bin/qutebrowser"}, {"jpg,jpeg,png", "/usr/bin/feh"}, {"gif,gifv,webm,mp4,mp3,wav,flac", "/usr/bin/mpv --loop --force-window=yes"}, @@ -80,7 +84,7 @@ getext(char *url) { /* * check if the extension of the url (if exists) is in our array - * if it is, return the index on the array, otherwise 0 + * if it is, return the index in the array, otherwise 0 */ int ret = 0; char *p = NULL; |