Enable getobject() to find solution even when project is current

This commit is contained in:
starkos 2009-01-14 20:11:40 +00:00
parent 5bd3dcfb69
commit eb33c9d874
2 changed files with 9 additions and 4 deletions

View File

@ -326,8 +326,13 @@
container = premake.CurrentConfiguration
end
if (t == "solution" and type(container) ~= "solution") then
container = nil
if t == "solution" then
if type(container) == "project" then
container = container.solution
end
if type(container) ~= "solution" then
container = nil
end
end
local msg

File diff suppressed because one or more lines are too long