summaryrefslogtreecommitdiff
path: root/source/t/xfig/xfig.3.2.4-null.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/t/xfig/xfig.3.2.4-null.diff')
-rw-r--r--source/t/xfig/xfig.3.2.4-null.diff64
1 files changed, 0 insertions, 64 deletions
diff --git a/source/t/xfig/xfig.3.2.4-null.diff b/source/t/xfig/xfig.3.2.4-null.diff
deleted file mode 100644
index 46120af1..00000000
--- a/source/t/xfig/xfig.3.2.4-null.diff
+++ /dev/null
@@ -1,64 +0,0 @@
---- 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 (&current_family_set[current_family].style[current_style]);
-