summaryrefslogtreecommitdiff
path: root/lualibs-io.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2014-05-05 07:47:48 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2014-05-05 07:47:48 +0200
commitcc7cbd37b22131aa81a58be88da43ad15ea18436 (patch)
tree056896d2b982ad976e9db1af641913b10c27afce /lualibs-io.lua
parentd758aba692b362c8653e1e4b1b5c13df4346652b (diff)
parentc1310e04a23cfe5d3d795b7e09d91599a3c916a5 (diff)
downloadlualibs-cc7cbd37b22131aa81a58be88da43ad15ea18436.tar.gz
Merge pull request #24 from phi-gamma/master
update to 2.1b
Diffstat (limited to 'lualibs-io.lua')
-rw-r--r--lualibs-io.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualibs-io.lua b/lualibs-io.lua
index 52f166a..020e811 100644
--- a/lualibs-io.lua
+++ b/lualibs-io.lua
@@ -12,7 +12,7 @@ local concat = table.concat
local floor = math.floor
local type = type
-if string.find(os.getenv("PATH"),";") then
+if string.find(os.getenv("PATH"),";",1,true) then
io.fileseparator, io.pathseparator = "\\", ";"
else
io.fileseparator, io.pathseparator = "/" , ":"