Fixed config files needed to finish with two trailing newlines

This commit is contained in:
Timo Smit 2017-02-03 13:38:01 +01:00
parent 70417c1298
commit e962fde32e

View file

@ -15,7 +15,6 @@
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
local util = require (wolfa_getLuaPath()..".util.util")
local settings = require (wolfa_getLuaPath()..".util.settings")
local files = {}
@ -68,7 +67,7 @@ function files.open(fileName, fileMode, fileCreate)
end
function files.loadCFG(fileName, idExpr, fileCreate)
local fileString = files.open(fileName, et.FS_READ, fileCreate)
local fileString = files.open(fileName, et.FS_READ, fileCreate).."\n\n"
local arrayCount = 0
local array = {}