Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs/class
diff options
context:
space:
mode:
authorJordi Mas i Hernandez <jordi@mono-cvs.ximian.com>2004-09-01 17:19:19 +0400
committerJordi Mas i Hernandez <jordi@mono-cvs.ximian.com>2004-09-01 17:19:19 +0400
commit8a99ad65a8c99635821aaa878c69a72975a9f1a6 (patch)
tree719d308eb93c593632867f767c277b621df9c8d2 /mcs/class
parentb8c542479650cfb68f9d7e6f5ebb4474d37eb476 (diff)
Init string variables with an empty object
svn path=/trunk/mcs/; revision=33155
Diffstat (limited to 'mcs/class')
-rw-r--r--mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs
index 1b97dabbc2d..4a149dcc333 100644
--- a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs
+++ b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs
@@ -29,9 +29,12 @@
// Jaak Simm jaaksimm@firm.ee
// John Sohn jsohn@columbus.rr.com
//
-// $Revision: 1.55 $
+// $Revision: 1.56 $
// $Modtime: $
// $Log: Control.cs,v $
+// Revision 1.56 2004/09/01 13:19:19 jordi
+// Init string variables with an empty object
+//
// Revision 1.55 2004/09/01 10:20:57 jordi
// fires OnFontChanged event
//
@@ -586,6 +589,8 @@ namespace System.Windows.Forms
parent = null;
background_image = null;
+ text = string.Empty;
+ name = string.Empty;
}
public Control(Control parent, string text) : this() {