Fix crasher, as reported in comments
authorMiguel de Icaza <miguel@gnome.org>
Wed, 27 Aug 2008 17:05:04 +0000 (17:05 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Wed, 27 Aug 2008 17:05:04 +0000 (17:05 -0000)
svn path=/trunk/mcs/; revision=111717

mcs/mcs/getline.cs

index 36d62eecf598f6562ad772733705208cfb031c1d..6040da7565c42bb258aff9565c6c41b4d0d378da 100644 (file)
@@ -67,7 +67,7 @@ namespace Mono.Terminal {
                History history;
 
                // The contents of the kill buffer (cut/paste in Emacs parlance)
-               string kill_buffer;
+               string kill_buffer = "";
 
                // The string being searched for
                string search;