[Xfce4-commits] <postler:master> Use string.length instead of string.len()

Christian Dywan noreply at xfce.org
Wed Oct 20 18:54:01 CEST 2010


Updating branch refs/heads/master
         to 6b878a420830ced40143f264f854191d1b6b9071 (commit)
       from 71ba376ff27b1522aff145bba46ae62f76450cc1 (commit)

commit 6b878a420830ced40143f264f854191d1b6b9071
Author: Christian Dywan <christian at twotoasts.de>
Date:   Wed Oct 20 18:53:13 2010 +0200

    Use string.length instead of string.len()

 postler/postler-content.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/postler/postler-content.vala b/postler/postler-content.vala
index d9d9d55..abc562b 100644
--- a/postler/postler-content.vala
+++ b/postler/postler-content.vala
@@ -335,7 +335,7 @@ public class Postler.Content : WebKit.WebView {
                         continue;
                     last_line_empty = false;
 
-                    size_t length = line.len ();
+                    size_t length = line.length;
                     /* TODO: Handle encoding */
                     for (int i = 0; i < length; i += (quote ? 78 : 80))
                         body.append ((quote ? "> " : "")



More information about the Xfce4-commits mailing list