SHA256
1
0
forked from pool/xfig

Accepting request 26416 from graphics

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
This commit is contained in:
OBS User autobuild
2009-12-16 09:58:06 +00:00
committed by Git OBS Bridge
parent 31a4b947ef
commit d5c59d51e2
16 changed files with 392 additions and 1395 deletions

43
xfig.3.2.5b-null.dif Normal file
View File

@@ -0,0 +1,43 @@
--- 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);