aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2006-06-07 13:09:58 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2006-06-07 13:09:58 +0800
commitf84ab028e9886048949b584ddf9dd704783c5178 (patch)
treecac8fab3a905232ef684cbc5bda458e34b66efeb
parentabb694612076c07b20c7a0cd16c0a9fc9cf32977 (diff)
downloadgsoc2013-evolution-f84ab028e9886048949b584ddf9dd704783c5178.tar
gsoc2013-evolution-f84ab028e9886048949b584ddf9dd704783c5178.tar.gz
gsoc2013-evolution-f84ab028e9886048949b584ddf9dd704783c5178.tar.bz2
gsoc2013-evolution-f84ab028e9886048949b584ddf9dd704783c5178.tar.lz
gsoc2013-evolution-f84ab028e9886048949b584ddf9dd704783c5178.tar.xz
gsoc2013-evolution-f84ab028e9886048949b584ddf9dd704783c5178.tar.zst
gsoc2013-evolution-f84ab028e9886048949b584ddf9dd704783c5178.zip
Fix for a plus/minor header.
svn path=/trunk/; revision=32085
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/em-format-html.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 2247388a18..b90f821a61 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2006-06-07 Srinivasa Ragavan <sragavan@novell.com>
+
+ * em-format-html.c: (efh_format_address): Fixed a minor bug, where the
+ plus symbol appears if the limit equals the address shown.
+
2006-06-06 Harish Krishnaswamy <kharish@novell.com>
* evolution-mail.schemas.in.in: typo correction.
diff --git a/mail/em-format-html.c b/mail/em-format-html.c
index eb9034ee42..91a876cf6e 100644
--- a/mail/em-format-html.c
+++ b/mail/em-format-html.c
@@ -1580,7 +1580,7 @@ efh_format_address (EMFormatHTML *efh, GString *out, struct _camel_header_addres
}
- if (limit > 0 && i>(limit-1)) {
+ if (limit > 0 && i>(limit)) {
if (!strcmp (field, i18n_hdrs[2])) {