sbcs - oneline cleanup

This commit is contained in:
Dmitry Shirokov 2013-08-15 12:26:35 +10:00
parent 216dabd09a
commit 61aaa6a850
1 changed files with 1 additions and 3 deletions

View File

@ -273,9 +273,7 @@ module.exports.ISO_8859_1 = function() {
}; };
this.name = function(det) { this.name = function(det) {
if (typeof det == 'undefined') return (det && det.fC1Bytes) ? 'windows-1252' : 'ISO-8859-1';
return 'ISO-8859-1';
return det.fC1Bytes ? 'windows-1252' : 'ISO-8859-1';
}; };
}; };
util.inherits(module.exports.ISO_8859_1, sbcs); util.inherits(module.exports.ISO_8859_1, sbcs);