[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pan-users] Re: [Pan 0.133-Windows] Drops server
From: |
walt |
Subject: |
[Pan-users] Re: [Pan 0.133-Windows] Drops server |
Date: |
Thu, 2 Oct 2008 22:07:31 +0000 (UTC) |
On Tue, 30 Sep 2008 15:01:55 +0000, Duncan wrote:
> There's no blank line
> between the content and the sig delimiter in the new-post case.
>
> Hopefully that should be easy to fix, since you've gotten all the extra
> lines out, finding where to add one for /just/ the new-post case should
> (hopefully) be easy! =:^)
--- pan/gui/post-ui.cc (revision 363)
+++ pan/gui/post-ui.cc (working copy)
@@ -1356,7 +1356,7 @@
load_signature (profile.signature_file, profile.sig_type, sig);
int ignored;
if (GNKSA::find_signature_delimiter (sig, ignored) == GNKSA::SIG_NONE)
- sig = std::string("\n\n-- \n") + sig;
+ sig = std::string("\n-- \n") + sig;
}
_current_signature = sig;
@@ -1367,15 +1367,15 @@
insert_pos = 0;
} else if (body.empty()) {
insert_pos = 0;
- body = "\n\n";
+ body = "\n";
body += sig;
} else if (sig.empty()) {
- body += "\n\n";
+ body += "\n";
insert_pos = body.size();
} else {
body += "\n\n";
insert_pos = body.size();
- body += "\n\n";
+ body += "\n";
body += sig;
}
Yes, it was easy. I removed one too many. Try this one.
--
Visualize clever sig here
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pan-users] Re: [Pan 0.133-Windows] Drops server,
walt <=