From: Christos Zoulas Date: Thu, 3 Mar 2016 22:20:03 +0000 (+0000) Subject: Add more for excel X-Git-Tag: FILE5_26~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3a1054b24e156701636599e8decf3c630e85d37d;p=file Add more for excel s/Office Word/Word/ for consistency. --- diff --git a/src/readcdf.c b/src/readcdf.c index 52dc897e..e6e060c7 100644 --- a/src/readcdf.c +++ b/src/readcdf.c @@ -26,7 +26,7 @@ #include "file.h" #ifndef lint -FILE_RCSID("@(#)$File: readcdf.c,v 1.54 2015/11/23 21:20:50 christos Exp $") +FILE_RCSID("@(#)$File: readcdf.c,v 1.55 2016/02/10 15:57:40 christos Exp $") #endif #include @@ -60,13 +60,16 @@ static const struct nv { { "Windows Installer", "vnd.ms-msi", }, { NULL, NULL, }, }, name2mime[] = { + { "Book", "vnd.ms-excel", }, { "Workbook", "vnd.ms-excel", }, { "WordDocument", "msword", }, { "PowerPoint", "vnd.ms-powerpoint", }, { "DigitalSignature", "vnd.ms-msi", }, { NULL, NULL, }, }, name2desc[] = { - { "WordDocument", "Microsoft Office Word",}, + { "Book", "Microsoft Excel", }, + { "Workbook", "Microsoft Excel", }, + { "WordDocument", "Microsoft Word", }, { "PowerPoint", "Microsoft PowerPoint", }, { "DigitalSignature", "Microsoft Installer", }, { NULL, NULL, },