mirror of
https://github.com/jarun/nnn.git
synced 2025-01-15 13:26:37 +00:00
commit
2eadf35fa0
|
@ -251,6 +251,7 @@
|
||||||
/* W */
|
/* W */
|
||||||
#define ICON_EXT_WAV ICON_MUSICFILE
|
#define ICON_EXT_WAV ICON_MUSICFILE
|
||||||
#define ICON_EXT_WEBM ICON_VIDEOFILE
|
#define ICON_EXT_WEBM ICON_VIDEOFILE
|
||||||
|
#define ICON_EXT_WEBP ICON_PICTUREFILE
|
||||||
#define ICON_EXT_WMA ICON_VIDEOFILE
|
#define ICON_EXT_WMA ICON_VIDEOFILE
|
||||||
#define ICON_EXT_WMV ICON_VIDEOFILE
|
#define ICON_EXT_WMV ICON_VIDEOFILE
|
||||||
|
|
||||||
|
|
|
@ -95,7 +95,7 @@ static const struct icon_pair icons_name[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* New entries should bu added such that the first character of the extension is in the correct group .
|
* New entries should be added such that the first character of the extension is in the correct group .
|
||||||
* This is done for performance reason so that the correct icon can be found faster.
|
* This is done for performance reason so that the correct icon can be found faster.
|
||||||
* All entries are case-insensitive
|
* All entries are case-insensitive
|
||||||
*/
|
*/
|
||||||
|
@ -284,6 +284,7 @@ static const struct icon_pair icons_ext[] = {
|
||||||
/* W */
|
/* W */
|
||||||
{"wav", FA_FILE_AUDIO_O, COLOR_AUDIO},
|
{"wav", FA_FILE_AUDIO_O, COLOR_AUDIO},
|
||||||
{"webm", FA_FILE_MOVIE_O, COLOR_VIDEO},
|
{"webm", FA_FILE_MOVIE_O, COLOR_VIDEO},
|
||||||
|
{"webp", FA_FILE_IMAGE_O, COLOR_IMAGE},
|
||||||
{"wma", FA_FILE_AUDIO_O, COLOR_AUDIO},
|
{"wma", FA_FILE_AUDIO_O, COLOR_AUDIO},
|
||||||
{"wmv", FA_FILE_MOVIE_O, COLOR_VIDEO},
|
{"wmv", FA_FILE_MOVIE_O, COLOR_VIDEO},
|
||||||
|
|
||||||
|
@ -502,6 +503,7 @@ static const struct icon_pair icons_ext[] = {
|
||||||
/* W */
|
/* W */
|
||||||
{"wav", ICON_EXT_WAV, COLOR_AUDIO},
|
{"wav", ICON_EXT_WAV, COLOR_AUDIO},
|
||||||
{"webm", ICON_EXT_WEBM, COLOR_VIDEO},
|
{"webm", ICON_EXT_WEBM, COLOR_VIDEO},
|
||||||
|
{"webp", ICON_EXT_WEBP, COLOR_IMAGE},
|
||||||
{"wma", ICON_EXT_WMA, COLOR_AUDIO},
|
{"wma", ICON_EXT_WMA, COLOR_AUDIO},
|
||||||
{"wmv", ICON_EXT_WMV, COLOR_VIDEO},
|
{"wmv", ICON_EXT_WMV, COLOR_VIDEO},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue