--- w_dir.c +++ w_dir.c 2004-03-22 12:17:21.000000000 +0000 @@ -126,6 +126,8 @@ { XawListReturnStruct *ret_struct = (XawListReturnStruct *) call_data; + if (!ret_struct) + return; strcpy(CurrentSelectionName, ret_struct->string); FirstArg(XtNstring, CurrentSelectionName); if (browse_up) { @@ -160,6 +162,8 @@ { XawListReturnStruct *ret_struct = (XawListReturnStruct *) call_data; + if (!ret_struct) + return; strcpy(CurrentSelectionName, ret_struct->string); DoChangeDir(CurrentSelectionName); } --- w_library.c +++ w_library.c 2004-03-22 12:19:10.000000000 +0000 @@ -461,6 +461,8 @@ int new_obj; XawListReturnStruct *ret_struct = (XawListReturnStruct *) call_data; + if (!ret_struct) + return; new_obj = ret_struct->list_index; if (icons_made) { /* unhighlight the current view icon */ --- w_srchrepl.c +++ w_srchrepl.c 2004-03-22 12:20:38.000000000 +0000 @@ -894,6 +894,8 @@ { XawListReturnStruct *ret_struct = (XawListReturnStruct *) call_data; + if (!ret_struct) + return; /* save the selected word */ strcpy(selected_word, ret_struct->string); /* copy the word to the correct_word ascii widget */ --- w_style.c +++ w_style.c 2004-03-22 12:13:00.000000000 +0000 @@ -585,7 +585,8 @@ XawListReturnStruct *ret_struct = (XawListReturnStruct *) call_data; - current_family = ret_struct->list_index; + if (ret_struct) + current_family = ret_struct->list_index; current_style = -1; style_update (); } @@ -598,7 +599,8 @@ { XawListReturnStruct *ret_struct = (XawListReturnStruct *) call_data; - current_style = ret_struct->list_index; + if (ret_struct) + current_style = ret_struct->list_index; style_update (); cur_updatemask = set_style (¤t_family_set[current_family].style[current_style]);