Don't print billions of spaces for a label with no indent.

llvm-svn: 39521
This commit is contained in:
Chris Lattner
2007-05-29 23:49:07 +00:00
parent da8a4f467b
commit d5322cd27e

View File

@@ -74,7 +74,7 @@ namespace {
}
std::ostream &Indent(int Delta = 0) const {
for (unsigned i = 0, e = IndentLevel+Delta; i != e; ++i)
for (int i = 0, e = IndentLevel+Delta; i < e; ++i)
OS << " ";
return OS;
}