author | Kim Alvefur <zash@zash.se> |
Fri, 30 Aug 2013 18:51:55 +0200 | |
changeset 5811 | 27ae988f5b70 |
parent 5810 | 99ad8d42d0c9 |
child 5812 | 57ebf93ec720 |
--- a/core/configmanager.lua Fri Aug 30 16:14:31 2013 +0200 +++ b/core/configmanager.lua Fri Aug 30 18:51:55 2013 +0200 @@ -77,7 +77,7 @@ local is_relative; if path_sep == "/" and path:sub(1,1) ~= "/" then is_relative = true; - elseif path_sep == "\\" and (path:sub(1,1) ~= "/" and (path:sub(2,3) ~= ":\\" or path:sub(2,3) ~= ":/")) then + elseif path_sep == "\\" and (path:sub(1,1) ~= "/" and (path:sub(2,3) ~= ":\\" and path:sub(2,3) ~= ":/")) then is_relative = true; end if is_relative then