Fixed bug in sln2005 that prevented p.override from working on the sln2005.elements functions.

This commit is contained in:
Sam Surtees 2015-10-14 23:09:22 +10:00
parent 0752850219
commit ad56a58f79
2 changed files with 9 additions and 11 deletions

@ -1 +1 @@
Subproject commit 233a3767895f138365eb92d44938ff9865f16c63
Subproject commit 218495031b9a39848083cc9b2860b3a1d2dc4183

View File

@ -296,11 +296,13 @@
-- be ignored.
--
sln2005.sectionmap = {
ConfigurationPlatforms = sln2005.configurationPlatforms,
SolutionProperties = sln2005.properties,
NestedProjects = sln2005.NestedProjects
}
sln2005.elements.sections = function(wks)
return {
sln2005.configurationPlatforms,
sln2005.properties,
sln2005.NestedProjects
}
end
--
@ -308,9 +310,5 @@
--
function sln2005.sections(wks)
for _, section in ipairs(sln2005.solutionSections(wks)) do
if sln2005.sectionmap[section] then
sln2005.sectionmap[section](wks)
end
end
p.callArray(sln2005.elements.sections, wks)
end