Updating branch refs/heads/master
         to 6fcae4241ad9c3dd86199a4f247f3a1a657e8b79 (commit)
       from 03a812ca5d503a06897eb2b3e4f2eb32a325b9e2 (commit)

commit 6fcae4241ad9c3dd86199a4f247f3a1a657e8b79
Author: Bernd PrĂ¼nster <[email protected]>
Date:   Thu Dec 9 21:48:15 2010 +0100

    Consistently end each mbsync status line with \n

 isync/sync.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/isync/sync.c b/isync/sync.c
index 8c2f6b5..b3210c0 100644
--- a/isync/sync.c
+++ b/isync/sync.c
@@ -366,7 +366,11 @@ stats( sync_vars_t *svars )
                cols = 36;
        if (!(DFlags & QUIET)) {
                for (t = 0; t < 2; t++) {
+#ifdef POSTLER_CHANGES
+                       l = sprintf( buf[t], "?%d/%d +%d/%d *%d/%d #%d/%d\n",
+#else
                        l = sprintf( buf[t], "?%d/%d +%d/%d *%d/%d #%d/%d",
+#endif
                                     svars->find_old_done[t] + 
svars->find_new_done[t],
                                     svars->find_old_total[t] + 
svars->find_new_total[t],
                                     svars->new_done[t], svars->new_total[t],
@@ -375,7 +379,11 @@ stats( sync_vars_t *svars )
                        if (l > cols)
                                buf[t][cols - 1] = '~';
                }
+#ifdef POSTLER_CHANGES
+               infon( "M: %.*s  S: %.*s", cols, buf[0], cols, buf[1] );
+#else
                infon( "\rM: %.*s  S: %.*s", cols, buf[0], cols, buf[1] );
+#endif
        }
 }
 
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to