d5c59d51e2
Copy from graphics/xfig based on submit request 26416 from user WernerFink OBS-URL: https://build.opensuse.org/request/show/26416 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xfig?expand=0&rev=13
44 lines
1.2 KiB
Plaintext
44 lines
1.2 KiB
Plaintext
--- 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
|
|
@@ -883,6 +883,9 @@ spell_select_word(Widget widget, XtPoint
|
|
{
|
|
XawListReturnStruct *ret_struct = (XawListReturnStruct *) call_data;
|
|
|
|
+ if (!ret_struct)
|
|
+ return;
|
|
+
|
|
/* make correct button and correction entry sensitive */
|
|
XtSetSensitive(correct_button, True);
|
|
XtSetSensitive(correct_word, True);
|