[Xfce4-commits] <postler:master> Iterate actual line length when preparing reply
Christian Dywan
noreply at xfce.org
Sun Jul 18 15:40:05 CEST 2010
Updating branch refs/heads/master
to 9ef3521a1afc5c4c3e7bc4ac5648f00862e9c7cb (commit)
from 92097f431791f156aad9f6795e0a34e191918cd6 (commit)
commit 9ef3521a1afc5c4c3e7bc4ac5648f00862e9c7cb
Author: Christian Dywan <christian at twotoasts.de>
Date: Thu Jul 8 22:02:40 2010 +0200
Iterate actual line length when preparing reply
postler/postler-content.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/postler/postler-content.vala b/postler/postler-content.vala
index 4b5f79a..0f3309d 100644
--- a/postler/postler-content.vala
+++ b/postler/postler-content.vala
@@ -307,8 +307,8 @@ public class Postler.Content : WebKit.WebView {
break;
}
- size_t length;
- while ((line = stream.read_line (out length, null)) != null) {
+ while ((line = stream.read_line (null, null)) != null) {
+ size_t length = line.len ();
/* TODO: Handle encoding */
for (int i = 0; i < length; i += (quote ? 78 : 80))
body.append ((quote ? "> " : "")
More information about the Xfce4-commits
mailing list