/pidgin/main: b62da965c3c0: Fix hyphenation in text replacement ...

Tirtha Chatterjee tirtha.p.chatterjee at gmail.com
Sun Jan 27 05:57:50 EST 2013


Changeset: b62da965c3c0a0c0da4470b76658a2bbf5a79ef4
Author:	 Tirtha Chatterjee <tirtha.p.chatterjee at gmail.com>
Date:	 2013-01-27 03:19 -0500
Branch:	 default
URL: http://hg.pidgin.im/pidgin/main/rev/b62da965c3c0

Description:

Fix hyphenation in text replacement plugin.

Fixes #3859.

diffstat:

 pidgin/plugins/spellchk.c |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (14 lines):

diff --git a/pidgin/plugins/spellchk.c b/pidgin/plugins/spellchk.c
--- a/pidgin/plugins/spellchk.c
+++ b/pidgin/plugins/spellchk.c
@@ -319,6 +319,10 @@ spellchk_inside_word(GtkTextIter *iter)
 	 * Part 1 of 2: This marks . as being an inside-word character. */
 	if (c == '.')
 		return TRUE;
+	if (c == '+')
+		return TRUE;
+	if (c == '-')
+		return TRUE;
 
 	/* Avoid problems with \r, for example (SF #1289031). */
 	if (c == '\\')



More information about the Commits mailing list