From: | "Pacho Ramos (pacho)" <pacho@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-lang/mono/files: mono-2.8.1-radegast-crash.patch |
Date: | Sat, 27 Nov 2010 15:51:00 |
Message-Id: | 20101127155040.7BE6A20054@flycatcher.gentoo.org |
1 | pacho 10/11/27 15:50:40 |
2 | |
3 | Added: mono-2.8.1-radegast-crash.patch |
4 | Log: |
5 | Backport upstream patch to fix radegast crash (bug #341435 by tman). |
6 | |
7 | (Portage version: 2.1.9.24/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-lang/mono/files/mono-2.8.1-radegast-crash.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/files/mono-2.8.1-radegast-crash.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/mono/files/mono-2.8.1-radegast-crash.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: mono-2.8.1-radegast-crash.patch |
16 | =================================================================== |
17 | --- /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 |
18 | +++ /home/pacho/mono-2.8.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TextBoxBase.cs 2010-11-27 15:47:02.000000000 +0100 |
19 | @@ -667,9 +667,10 @@ |
20 | } else { |
21 | document.Empty(); |
22 | |
23 | - document.SetSelectionToCaret (true); |
24 | - if (IsHandleCreated) |
25 | + if (IsHandleCreated) { |
26 | + document.SetSelectionToCaret (true); |
27 | CalculateDocument (); |
28 | + } |
29 | } |
30 | |
31 | OnTextChanged(EventArgs.Empty); |