Bugs corrected
- From: Emmanuel <e allaud wanadoo fr>
- To: balsa-list gnome org
- Subject: Bugs corrected
- Date: Thu, 5 Jul 2001 12:43:17 +0200
Hi all,
3 patchs attached correcting bugs (perhaps already submitted but I had
no answer):
-in ./libbalsa/address-entry.c : misplacement of the cursor (at end
instead of beginning)
-in ./libbalsa/filter-funcs.c : missing initialization of filter field
-./libbalsa/filter-private.h : misspelled field of filter struct in
macros
Manu
+++ ./libbalsa/address-entry.c Tue Jun 26 10:48:27 2001
@@ -1889,7 +1886,7 @@
} else if (g_list_next(input->active)) {
input->active = g_list_next(input->active);
addy = input->active->data;
- addy->cursor = strlen(addy->user);
+ addy->cursor = 0;
}
}
+++ ./libbalsa/filter-funcs.c Tue Jun 26 10:41:32 2001
@@ -158,6 +158,7 @@
return (NULL);
}
+ newfil->name=NULL;
newfil->type = FILTER_NONE;
newfil->flags = FILTER_EMPTY;
newfil->match_fields = FILTER_EMPTY;
+++ ./libbalsa/filter-private.h Tue Jun 26 10:59:44 2001
@@ -65,9 +65,9 @@
#define FILTER_MATCH_SUBJECT 1<<5 /* match in the Subject field */
/* FILTER_SIMPLE macros */
-#define FILTER_SETMATCH(x, y) ((((filter*)(x))->matchfields) |= (y))
-#define FILTER_CLRMATCH(x, y) ((((filter*)(x))->matchfields) &= ~(y))
-#define FILTER_CHKMATCH(x, y) ((((filter*)(x))->matchfields) & (y))
+#define FILTER_SETMATCH(x, y) ((((filter*)(x))->match_fields) |= (y))
+#define FILTER_CLRMATCH(x, y) ((((filter*)(x))->match_fields) &= ~(y))
+#define FILTER_CHKMATCH(x, y) ((((filter*)(x))->match_fields) & (y))
/* regex struct */
typedef struct _filter_regex {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]