Fix: make .torrent "short extension"

This commit is contained in:
Nikita Ivanov 2023-04-02 17:51:27 +02:00
parent 4c14f6d393
commit 83af722da2
No known key found for this signature in database
GPG Key ID: 6E656AC5B97B5133

View File

@ -18,7 +18,6 @@ Preview b_previews[] = {
PR("md", NULL, NULL, glow, PREV_ATTR_NONE),
PR("md", NULL, NULL, mdcat, PREV_ATTR_NONE),
PR("torrent", NULL, NULL, torrent, PREV_ATTR_NONE),
PR("ods", NULL, NULL, libreoffice, PREV_ATTR_NONE),
PR("fods", NULL, NULL, libreoffice, PREV_ATTR_NONE),
@ -113,6 +112,7 @@ Preview b_previews[] = {
PR("7z", NULL, NULL, atool, PREV_ATTR_NONE),
PR("cpio", NULL, NULL, atool, PREV_ATTR_NONE),
PR("torrent", NULL, NULL, torrent, PREV_ATTR_EXT_SHORT),
PR("gpg", NULL, NULL, gpg, PREV_ATTR_EXT_SHORT),
};