Re: [tin 1.7.x] new snapshots
Urs Janßen <[email protected]>
| Newsgroups | gmane.network.tin.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Apr 08, 2005 at 06:50:38PM +0200, Michael Bienia wrote:
> On 2005-04-08 15:49:23 +0200, Urs JanÃen wrote:
> > new snapshots at the usual place:
> > <ftp://ftp.tin.org/pub/news/clients/tin/unstable/snapshots/>
> While looking through the diff I spotted that the merged keys for
> MenuFilterSelect aren't written to the new keymap file anymore.
> Any reason for it?
bug, loks like I moved the block and replaced it with the bugreport
stuff instaed of copying it.
--- keymap.c.o 2005-04-08 18:57:25.000000000 +0200
+++ keymap.c 2005-04-08 18:59:17.000000000 +0200
@@ -2075,6 +2075,25 @@
FreeAndNull(menu_filter_kill[1]);
FreeAndNull(menu_filter_kill[2]);
}
+ if (menu_filter_select[0] || menu_filter_select[1] || menu_filter_select[2]) {
+ fprintf(newfp, "MenuFilterSelect\t");
+ if (menu_filter_select[0] && menu_filter_select[1] && !strcmp(menu_filter_select[0], menu_filter_select[1]))
+ FreeAndNull(menu_filter_select[1]);
+ if (menu_filter_select[0] && menu_filter_select[2] && !strcmp(menu_filter_select[0], menu_filter_select[2]))
+ FreeAndNull(menu_filter_select[2]);
+ if (menu_filter_select[1] && menu_filter_select[2] && !strcmp(menu_filter_select[1], menu_filter_select[2]))
+ FreeAndNull(menu_filter_select[2]);
+ if (menu_filter_select[0])
+ fprintf(newfp, "\t%s", menu_filter_select[0]);
+ if (menu_filter_select[1])
+ fprintf(newfp, "\t%s", menu_filter_select[1]);
+ if (menu_filter_select[2])
+ fprintf(newfp, "\t%s", menu_filter_select[2]);
+ fprintf(newfp, "\n");
+ FreeAndNull(menu_filter_select[0]);
+ FreeAndNull(menu_filter_select[1]);
+ FreeAndNull(menu_filter_select[2]);
+ }
if (quick_filter_kill[0] || quick_filter_kill[1]) {
fprintf(newfp, "QuickFilterKill\t");
if (quick_filter_kill[0])