fix javascript strict warning

bug 248884, patch by gekacheka, r=mvl
This commit is contained in:
mvl%exedo.nl 2004-12-02 10:53:47 +00:00
parent 13761798e3
commit 0951e54b13

View File

@ -878,7 +878,7 @@ calendarManager.prototype.getRemoteCalendarText = function calMan_getRemoteCalen
.createInstance(Components.interfaces.nsIScriptableUnicodeConverter);
// ics files are always utf8
unicodeConverter.charset = "UTF-8";
var result = unicodeConverter.convertFromByteArray( result, result.length );
result = unicodeConverter.convertFromByteArray( result, result.length );
} catch(e) {
// Now try the pre-1.8a5 method, which might have problems
// with utf8 chars