diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2007-08-23 02:07:30 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2007-08-23 02:07:30 +0000 |
commit | d317bb77282ba4e6b1e5e94924827d1b2c60f69a (patch) | |
tree | e8bf689d5e8a06dd6b5b7829b9c61a5238723c6c /src | |
parent | 593ed51550a14c6ccbcbc279b899e4ba2100f94a (diff) |
also don't join '--' in line wrapping.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1882 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src')
-rw-r--r-- | src/compose.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compose.c b/src/compose.c index 5f9730c5..b8e4b853 100644 --- a/src/compose.c +++ b/src/compose.c @@ -2393,6 +2393,12 @@ static gboolean compose_is_itemized(GtkTextBuffer *buffer, wc = gtk_text_iter_get_char(&iter); if (g_unichar_isspace(wc)) return TRUE; + else if (ch[0] == '-') { + /* -- */ + clen = g_unichar_to_utf8(wc, ch); + if (clen == 1 && ch[0] == '-') + return TRUE; + } return FALSE; } |