]> granicus.if.org Git - file/commitdiff
Add more for excel
authorChristos Zoulas <christos@zoulas.com>
Thu, 3 Mar 2016 22:20:03 +0000 (22:20 +0000)
committerChristos Zoulas <christos@zoulas.com>
Thu, 3 Mar 2016 22:20:03 +0000 (22:20 +0000)
s/Office Word/Word/ for consistency.

src/readcdf.c

index 52dc897e752e86f014e4c6d3105a0fa22408c068..e6e060c7078e503dca65da66330e357dcf6684be 100644 (file)
@@ -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 <assert.h>
@@ -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,                   },