diff options
author | Mattes D <github@xoft.cz> | 2015-01-29 11:10:32 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-01-29 11:10:32 +0100 |
commit | 64a16a730955cd928f201abf138896b31f64d0d5 (patch) | |
tree | 340e29dc670b888acd40c57c3c4dcdc1d5307cde | |
parent | Fixed missing LibEvent reference in OSSupport. (diff) | |
download | cuberite-64a16a730955cd928f201abf138896b31f64d0d5.tar cuberite-64a16a730955cd928f201abf138896b31f64d0d5.tar.gz cuberite-64a16a730955cd928f201abf138896b31f64d0d5.tar.bz2 cuberite-64a16a730955cd928f201abf138896b31f64d0d5.tar.lz cuberite-64a16a730955cd928f201abf138896b31f64d0d5.tar.xz cuberite-64a16a730955cd928f201abf138896b31f64d0d5.tar.zst cuberite-64a16a730955cd928f201abf138896b31f64d0d5.zip |
-rw-r--r-- | src/CheckBasicStyle.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CheckBasicStyle.lua b/src/CheckBasicStyle.lua index 0c7b05d6d..648a5711b 100644 --- a/src/CheckBasicStyle.lua +++ b/src/CheckBasicStyle.lua @@ -167,6 +167,7 @@ local function ProcessFile(a_FileName) os.exit(1) end local all = f:read("*all") + f:close() -- Check that the last line is empty - otherwise processing won't work properly: local lastChar = string.byte(all, string.len(all)) |