[evolution/wip/webkit-composer] EComposerPrivate: Don't insert unnecessary new lines into signature
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit-composer] EComposerPrivate: Don't insert unnecessary new lines into signature
- Date: Mon, 9 Jun 2014 12:34:31 +0000 (UTC)
commit c1a02edd4c6bfa3f462727924cef6a357723d4a4
Author: Tomas Popela <tpopela redhat com>
Date: Mon Jun 9 11:01:25 2014 +0200
EComposerPrivate: Don't insert unnecessary new lines into signature
composer/e-composer-private.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/composer/e-composer-private.c b/composer/e-composer-private.c
index c40e532..da14f8f 100644
--- a/composer/e-composer-private.c
+++ b/composer/e-composer-private.c
@@ -1081,7 +1081,7 @@ composer_load_signature_cb (EMailSignatureComboBox *combo_box,
(active_id != NULL) ? active_id : "");
if (!is_html)
- g_string_append (html_buffer, "<PRE>\n");
+ g_string_append (html_buffer, "<PRE>");
/* The signature dash convention ("-- \n") is specified
* in the "Son of RFC 1036", section 4.3.2.
@@ -1092,8 +1092,8 @@ composer_load_signature_cb (EMailSignatureComboBox *combo_box,
const gchar *delim_nl;
if (is_html) {
- delim = "-- \n<BR>";
- delim_nl = "\n-- \n<BR>";
+ delim = "-- <BR>";
+ delim_nl = "\n-- <BR>";
} else {
delim = "-- \n";
delim_nl = "\n-- \n";
@@ -1111,7 +1111,7 @@ composer_load_signature_cb (EMailSignatureComboBox *combo_box,
g_string_append_len (html_buffer, contents, length);
if (!is_html)
- g_string_append (html_buffer, "</PRE>\n");
+ g_string_append (html_buffer, "</PRE>");
g_string_append (html_buffer, "</SPAN>");
g_free (contents);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]