Removed hack in EditorExecuteScript() that worked around a

bug in nsIFileSpec.readLine() that has now been fixed.
This commit is contained in:
kin%netscape.com 1999-06-22 23:30:21 +00:00
parent 2111d69f33
commit a844eab276

View File

@ -438,18 +438,6 @@ function EditorExecuteScript(fileSpec)
// XXX by the readLine() implementation.
tmpBuf.value = null;
// XXX There is a bug in the nsIFileSpec implementation.
// XXX the didTruncate value actually returns a bool
// XXX that indicates if the read successfully read
// XXX a line that fit into the buffer.
// XXX That is, it returns true if everything fit
// XXX and false if it didn't ... the reverse of what
// XXX the args name suggests.
// XXX
// XXX Remove the following line when this bug gets fixed.
didTruncate.value = !didTruncate.value;
}
eval(buf.value);