Pull requests

#99 Merged
Repository
windirstat
Branch
fix_issue41
Repository
premake
Branch
default

This fixes issue #41 by simply resetting the indentation to its default ...

Author
  1. Oliver Schneider
Reviewers
Description

This fixes issue #41 by simply resetting the indentation to its default at the beginning of solution generation, i.e. in vs2005.generateSolution, shared by all VS implementations.

Please note that it may be equally sensible to set it to \t (which io.printf does if io.indent is nil).

The other potentially questionable thing is whether this should go into this particular place, but I chose the most sensible after looking at the options. Some of the functions inside vs2005_solution.lua would also lend themselves to this same patch, but this one seemed the most natural for it.

Comments (2)

  1. Jason Perkins

    I think it reasonable that each exporter should set up its output parameters right up front, so this is a good fix. Might be better to set it to '\t' explicitly; maybe I will change it next time I'm in that code.