diff --git a/chrome/content/zotero/xpcom/file.js b/chrome/content/zotero/xpcom/file.js index 9ad7eec4e6..a76278a3ef 100644 --- a/chrome/content/zotero/xpcom/file.js +++ b/chrome/content/zotero/xpcom/file.js @@ -83,10 +83,10 @@ Zotero.File = new function(){ /* - * Get the first 128 bytes of the file as a string (multibyte-safe) + * Get the first 200 bytes of the file as a string (multibyte-safe) */ function getSample(file) { - return this.getContents(file, null, 128); + return this.getContents(file, null, 200); } diff --git a/chrome/content/zotero/xpcom/mime.js b/chrome/content/zotero/xpcom/mime.js index ca1d50dcf8..0557fd0fa2 100644 --- a/chrome/content/zotero/xpcom/mime.js +++ b/chrome/content/zotero/xpcom/mime.js @@ -233,7 +233,7 @@ Zotero.MIME = new function(){ } } // Otherwise allow match anywhere in sample - // (128 bytes from getSample() by default) + // (200 bytes from getSample() by default) else if (str.indexOf(_snifferEntries[i][0]) != -1) { match = true; }