mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 19:52:20 +00:00
Fix segfault on file not copyright file not found. Only fclose() a file
handle that has been successfully fopen()ed.
This commit is contained in:
parent
7e9a7df246
commit
09f0b16cf3
1 changed files with 1 additions and 1 deletions
|
@ -1272,9 +1272,9 @@ MakeDialog( DialogType dtype )
|
||||||
XmStringCreate(buffer,
|
XmStringCreate(buffer,
|
||||||
XmFONTLIST_DEFAULT_TAG));
|
XmFONTLIST_DEFAULT_TAG));
|
||||||
}
|
}
|
||||||
|
fclose(fp);
|
||||||
}
|
}
|
||||||
|
|
||||||
fclose(fp);
|
|
||||||
XtSetArg(argt[i], XmNmessageString, xmstr ); i++;
|
XtSetArg(argt[i], XmNmessageString, xmstr ); i++;
|
||||||
|
|
||||||
w = XmCreateInformationDialog(table, "copyright_msg", argt, i);
|
w = XmCreateInformationDialog(table, "copyright_msg", argt, i);
|
||||||
|
|
Loading…
Reference in a new issue