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
Родитель 46408469d7
Коммит a7c2ae743d
1 изменённых файлов: 0 добавлений и 12 удалений

Просмотреть файл

@ -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);