diff options
author | Christian Hesse <mail@eworm.de> | 2022-01-12 09:53:15 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2022-02-08 10:54:40 +0100 |
commit | facb67f8438aa8ef18ffacdccfd0a2d1c2730e5c (patch) | |
tree | 1a3588038565354151a92a616f3c3f3311fab62f /src/index.c | |
parent | 4affafe91579799efd83f4c8e05c291eeb684c9c (diff) |
global initialization for libmagic
Add a global `magic_t magic` and initialize it just once.
Also `feh_is_image()` now calls itself to check compressed files, saving
some duplicate code.
Diffstat (limited to 'src/index.c')
0 files changed, 0 insertions, 0 deletions