6fadebd110
self accept OBS-URL: https://build.opensuse.org/request/show/60422 OBS-URL: https://build.opensuse.org/package/show/Base:System/mc?expand=0&rev=23
14 lines
450 B
Diff
14 lines
450 B
Diff
Index: src/editor/editwidget.c
|
|
===================================================================
|
|
--- src/editor/editwidget.c.orig
|
|
+++ src/editor/editwidget.c
|
|
@@ -387,7 +387,7 @@ edit_file (const char *_file, int line)
|
|
const char *
|
|
edit_get_file_name (const WEdit * edit)
|
|
{
|
|
- return edit->filename;
|
|
+ return edit?edit->filename:NULL;
|
|
}
|
|
|
|
/* --------------------------------------------------------------------------------------------- */
|