From 767ce504c68e45e2c51935fc88c0698beddcaef6 Mon Sep 17 00:00:00 2001 From: Igor Timofeev Date: Thu, 19 Nov 2015 07:06:30 +0300 Subject: [PATCH] aef --- Applications/InfoPanel/InfoPanel.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Applications/InfoPanel/InfoPanel.lua b/Applications/InfoPanel/InfoPanel.lua index af2fe403..e7edf9d0 100644 --- a/Applications/InfoPanel/InfoPanel.lua +++ b/Applications/InfoPanel/InfoPanel.lua @@ -23,7 +23,7 @@ local xOld, yOld = gpu.getResolution() ecs.setScale(config.scale) local xSize, ySize = gpu.getResolution() -local pathToFiles = "Infopanel/" +local pathToFiles = "InfoPanel/" fs.makeDirectory(pathToFiles) local currentFile = 1 local fileList @@ -62,6 +62,7 @@ local function drawLeftBar() end local function loadFile() + currentString = 1 stroki = {} local file = io.open(pathToFiles .. fileList[currentFile], "r") for line in file:lines() do table.insert(stroki, line) end