[Xfce4-commits] <postler:master> Use correct offset for encoded address pieces
Christian Dywan
noreply at xfce.org
Thu Feb 17 23:02:01 CET 2011
Updating branch refs/heads/master
to 797935c79fef0752c7b2f50931156dc98b08127a (commit)
from 0e2f4e7b6de4f4e9f99acad5c6dac811c464fdc3 (commit)
commit 797935c79fef0752c7b2f50931156dc98b08127a
Author: André Stösel <andre at stoesel.de>
Date: Thu Feb 17 22:59:48 2011 +0100
Use correct offset for encoded address pieces
postler/postler-messages.vala | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/postler/postler-messages.vala b/postler/postler-messages.vala
index 5c2cd8b..e7fdb65 100644
--- a/postler/postler-messages.vala
+++ b/postler/postler-messages.vala
@@ -367,10 +367,10 @@ public class Postler.Messages : Gtk.TreeView {
int token = token1 + 1;
while (encoded[token] != '?')
token++;
- charset = encoded[token1:token].up ();
+ charset = encoded[token1 + 1:token].up ();
/* Encoding aliases */
- if (charset == "?KS_C_5601-1987")
- charset = "?CP949";
+ if (charset == "KS_C_5601-1987")
+ charset = "CP949";
token++;
unichar encoding = encoded[token].toupper ();
More information about the Xfce4-commits
mailing list