diff --git a/exec/SlyEdit.js b/exec/SlyEdit.js index 6d57e6cf79d7888da91859bf3dc1832be1f4955b..4a8de42d17e78c942f217aaffdf4cc086b3cedb5 100644 --- a/exec/SlyEdit.js +++ b/exec/SlyEdit.js @@ -1041,8 +1041,7 @@ function readQuoteOrMessageFile() // code point are truncated to ASCII Ctrl-Z (ASCII 26) char, which is interpreted // by Windows as an "EOF" (end of file) marker for files open in text mode and the // file won't be read beyond that char. - var openMode = gUseQuotes ? "rb" : "r"; - if (inputFile.open(openMode, false)) + if (inputFile.open("rb", false)) { // Read into the gQuoteLines or gEditLines array, depending on the value // of gUseQuotes. Use a buffer size that should be long enough.