Merge 'default' into 'minor'

--HG--
branch : minor
This commit is contained in:
Bart van Strien
2011-01-17 11:08:58 +01:00
267 changed files with 3612 additions and 3674 deletions
+4 -2
View File
@@ -1,5 +1,5 @@
--[[
Copyright (c) 2006-2010 LOVE Development Team
Copyright (c) 2006-2011 LOVE Development Team
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
@@ -76,8 +76,10 @@ function love.path.getfull(p)
cwd = love.path.endslash(cwd)
-- Construct a full path.
return cwd .. love.path.normalslashes(p)
local full = cwd .. love.path.normalslashes(p)
-- Remove trailing /., if applicable
return full:match("(.-)/%.") or full
end
-- Returns the leaf of a full path.