Fix typo.

This commit is contained in:
Jason Davies 2013-10-08 14:47:58 +01:00
parent 46cd2c1895
commit 8d26e73e67

View File

@ -96,7 +96,7 @@ function OutputStream(options) {
case '"': ++dq; return '"'; case '"': ++dq; return '"';
case "'": ++sq; return "'"; case "'": ++sq; return "'";
case "\0": case "\0":
var next = s.charCodeAt(i + 1); var next = str.charCodeAt(i + 1);
return 48 <= next && next <= 57 ? "\\x00" : "\\0"; return 48 <= next && next <= 57 ? "\\x00" : "\\0";
} }
return s; return s;