summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2010-11-27 15:50:40 +0000
committerPacho Ramos <pacho@gentoo.org>2010-11-27 15:50:40 +0000
commitaee8109e36eac1b2cf8547a6e77c489e45830403 (patch)
tree9e6de9db5670f54d720e1342bf92ffa4648231dc /dev-lang/mono/files
parentversion bump; support new filestructure and fileformat of VDR-1.7.3 (diff)
downloadgentoo-2-aee8109e36eac1b2cf8547a6e77c489e45830403.tar.gz
gentoo-2-aee8109e36eac1b2cf8547a6e77c489e45830403.tar.bz2
gentoo-2-aee8109e36eac1b2cf8547a6e77c489e45830403.zip
Backport upstream patch to fix radegast crash (bug #341435 by tman).
(Portage version: 2.1.9.24/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/mono/files')
-rw-r--r--dev-lang/mono/files/mono-2.8.1-radegast-crash.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-lang/mono/files/mono-2.8.1-radegast-crash.patch b/dev-lang/mono/files/mono-2.8.1-radegast-crash.patch
new file mode 100644
index 000000000000..9260273d0d2a
--- /dev/null
+++ b/dev-lang/mono/files/mono-2.8.1-radegast-crash.patch
@@ -0,0 +1,15 @@
+--- /home/pacho/mono-2.8.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs.orig 2010-11-27 15:46:31.000000000 +0100
++++ /home/pacho/mono-2.8.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs 2010-11-27 15:47:02.000000000 +0100
+@@ -667,9 +667,10 @@
+ } else {
+ document.Empty();
+
+- document.SetSelectionToCaret (true);
+- if (IsHandleCreated)
++ if (IsHandleCreated) {
++ document.SetSelectionToCaret (true);
+ CalculateDocument ();
++ }
+ }
+
+ OnTextChanged(EventArgs.Empty);