Bug 606859: sherlock plugin loading code was broken by bug 599751, r+a=bustage

This commit is contained in:
Gavin Sharp
2010-10-24 21:11:15 -04:00
parent cdf984a89a
commit 2df8fb1438

View File

@@ -1867,7 +1867,7 @@ Engine.prototype = {
// Adjust the start index to account for the opening quote
valueStart = quoteStart + "\"".length;
// Find the closing quote
let valueEnd = lLine.indexOf("\"", valueStart);
var valueEnd = lLine.indexOf("\"", valueStart);
// If there is no closing quote, just go to the end of the line
if (valueEnd == -1)
valueEnd = aLine.length;