Matched VS2010 indentation behavior (two spaces)

This commit is contained in:
Jason Perkins 2011-07-05 15:03:36 -04:00
parent 144c608442
commit 344e285003
2 changed files with 4 additions and 0 deletions

View File

@ -620,6 +620,7 @@
-- --
function premake.vs2010_vcxproj(prj) function premake.vs2010_vcxproj(prj)
io.indent = " "
vc2010.header("Build") vc2010.header("Build")
vs2010_config(prj) vs2010_config(prj)
@ -670,6 +671,7 @@
end end
function premake.vs2010_vcxproj_user(prj) function premake.vs2010_vcxproj_user(prj)
io.indent = " "
vc2010.header() vc2010.header()
for _, cfginfo in ipairs(prj.solution.vstudio_configs) do for _, cfginfo in ipairs(prj.solution.vstudio_configs) do
local cfg = premake.getconfig(prj, cfginfo.src_buildcfg, cfginfo.src_platform) local cfg = premake.getconfig(prj, cfginfo.src_buildcfg, cfginfo.src_platform)

View File

@ -107,6 +107,8 @@
-- --
function vc2010.generate_filters(prj) function vc2010.generate_filters(prj)
io.indent = " "
cfg = premake.getconfig(prj) cfg = premake.getconfig(prj)
local sorted = vc2010.sort_input_files(cfg.files) local sorted = vc2010.sort_input_files(cfg.files)