projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2007-01-22 Miguel de Icaza <miguel@novell.com>
[mono.git]
/
mcs
/
class
/
System
/
System.CodeDom.Compiler
/
IndentedTextWriter.cs
diff --git
a/mcs/class/System/System.CodeDom.Compiler/IndentedTextWriter.cs
b/mcs/class/System/System.CodeDom.Compiler/IndentedTextWriter.cs
index e9139bdeb7c44ece0fe128a1b18731eb9105fa14..239d49b18b17a1d1069a772abcc9a6e456c43a4f 100644
(file)
--- a/
mcs/class/System/System.CodeDom.Compiler/IndentedTextWriter.cs
+++ b/
mcs/class/System/System.CodeDom.Compiler/IndentedTextWriter.cs
@@
-80,6
+80,9
@@
namespace System.CodeDom.Compiler {
return indent;
}
set {
+ if (value < 0) {
+ value = 0;
+ }
indent = value;
}
}