diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2016-10-02 16:30:10 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2016-10-02 16:30:10 -0400 |
commit | b2175be362b0a32d06d98369302d55b226b58ab1 (patch) | |
tree | fed6309efab2967279265a990637c38bffa33cc1 /color.c | |
parent | 34fa233c66d6595e168fe114655857f14accfa3a (diff) | |
download | bfs-b2175be362b0a32d06d98369302d55b226b58ab1.tar.xz |
bftw: Add support for some exotic file types, where available.
Diffstat (limited to 'color.c')
-rw-r--r-- | color.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -302,6 +302,12 @@ static const char *file_color(const struct colors *colors, const char *filename, case S_IFSOCK: color = colors->socket; break; + +#ifdef S_IFDOOR + case S_IFDOOR: + color = colors->door; + break; +#endif } if (!color) { |