From a38cd0f12a29ba323c1edaa7fbd1f51572454304 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Mon, 12 Nov 2012 03:17:44 -0500
Subject: [PATCH] Fix excessive LFs at the end of composed message with top_posting=true (#1488797)

---
 program/steps/mail/func.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index efca65b..6712f25 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -1499,7 +1499,7 @@
     $out .= $line . "\n";
   }
 
-  return $out;
+  return rtrim($out, "\n");
 }
 
 

--
Gitblit v1.9.1