+2006-04-06 [colin] 2.1.0cvs5
+
+ * src/addressbook.c
+ Fix crash with empty columns
+
2006-04-05 [colin] 2.1.0cvs4
* src/wizard.c
( cvs diff -u -r 1.60.2.56 -r 1.60.2.57 src/addressbook.c; cvs diff -u -r 1.1.2.22 -r 1.1.2.23 src/prefs_summaries.c; ) > 2.1.0cvs2.patchset
( cvs diff -u -r 1.96.2.105 -r 1.96.2.106 src/textview.c; cvs diff -u -r 1.83.2.65 -r 1.83.2.66 src/mimeview.c; cvs diff -u -r 1.20.2.8 -r 1.20.2.9 src/mimeview.h; ) > 2.1.0cvs3.patchset
( cvs diff -u -r 1.1.2.28 -r 1.1.2.29 src/wizard.c; cvs diff -u -r 1.10.2.17 -r 1.10.2.18 src/prefs_gtk.c; ) > 2.1.0cvs4.patchset
+( cvs diff -u -r 1.60.2.57 -r 1.60.2.58 src/addressbook.c; ) > 2.1.0cvs5.patchset
if( person == NULL ) return;
- text[COL_NAME] = NULL;
+ text[COL_NAME] = "";
node = person->listEMail;
while( node ) {
ItemEMail *email = node->data;
if( ! haveAddr ) {
/* Have name without EMail */
text[COL_NAME] = ADDRITEM_NAME(person);
- text[COL_ADDRESS] = NULL;
- text[COL_REMARKS] = NULL;
+ text[COL_ADDRESS] = "";
+ text[COL_REMARKS] = "";
nodePerson = gtk_sctree_insert_node(
clist, NULL, NULL,
text, FOLDER_SPACING,
ItemGroup *group = items->data;
if( group == NULL ) continue;
text[COL_NAME] = ADDRITEM_NAME(group);
- text[COL_ADDRESS] = NULL;
- text[COL_REMARKS] = NULL;
+ text[COL_ADDRESS] = "";
+ text[COL_REMARKS] = "";
nodeGroup = gtk_sctree_insert_node(clist, NULL, NULL,
text, FOLDER_SPACING,
atci->iconXpm, atci->maskXpm,