diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.ja | 5 | ||||
-rw-r--r-- | libsylph/codeconv.c | 4 |
3 files changed, 14 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2007-03-14 + + * libsylph/codeconv.c: conv_encode_header(): fixed wrong handling + of quotation in continuing multi-byte strings. + 2007-03-13 * src/summaryview.c: fixed crash on exit when the order of summary diff --git a/ChangeLog.ja b/ChangeLog.ja index e3586d75..fa1e6243 100644 --- a/ChangeLog.ja +++ b/ChangeLog.ja @@ -1,3 +1,8 @@ +2007-03-14 + + * libsylph/codeconv.c: conv_encode_header(): 継続するマルチバイト + 文字列における引用符の処理に誤りがあったのを修正。 + 2007-03-13 * src/summaryview.c: サマリのカラムの順序を DnD で変更した場合 diff --git a/libsylph/codeconv.c b/libsylph/codeconv.c index b7554fa8..2911aff7 100644 --- a/libsylph/codeconv.c +++ b/libsylph/codeconv.c @@ -2263,9 +2263,13 @@ void conv_encode_header(gchar *dest, gint len, const gchar *src, p += mb_len; } else if (cur_len == 0) { LBREAK_IF_REQUIRED(1, FALSE); + if (*p == '"') + in_quote ^= TRUE; continue; } else { cont = TRUE; + if (*p == '"') + in_quote ^= TRUE; break; } } |