Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:FactoryCandidates
xfig
xfig.3.2.5b-null.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xfig.3.2.5b-null.dif of Package xfig
--- src/w_dir.c | 4 ++++ src/w_library.c | 2 ++ src/w_srchrepl.c | 3 +++ 3 files changed, 9 insertions(+) --- src/w_dir.c +++ src/w_dir.c 2023-09-13 09:39:27.454515496 +0000 @@ -151,6 +151,8 @@ FileSelected(Widget w, XtPointer client_ XawListReturnStruct *ret_struct = (XawListReturnStruct *) call_data; + if (!ret_struct) + return; strcpy(CurrentSelectionName, ret_struct->string); FirstArg(XtNstring, CurrentSelectionName); if (browse_up) { @@ -185,6 +187,8 @@ DirSelected(Widget w, XtPointer client_d XawListReturnStruct *ret_struct = (XawListReturnStruct *) call_data; + if (!ret_struct) + return; strcpy(CurrentSelectionName, ret_struct->string); DoChangeDir(CurrentSelectionName); } --- src/w_library.c +++ src/w_library.c 2023-09-13 09:38:05.523980529 +0000 @@ -514,6 +514,8 @@ NewObjectSel(Widget w, XtPointer closure 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 */ --- src/w_srchrepl.c +++ src/w_srchrepl.c 2023-09-13 09:40:26.341462455 +0000 @@ -918,6 +918,9 @@ spell_select_word(Widget widget, XtPoint (void)widget; (void)closure; 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);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor