mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* editwidget.c (edit): Set edit_dlg to NULL after it's
destroyed.
This commit is contained in:
parent
9707873a05
commit
2571416650
@ -1,5 +1,8 @@
|
||||
2002-09-23 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* editwidget.c (edit): Set edit_dlg to NULL after it's
|
||||
destroyed.
|
||||
|
||||
* edit.h: Move style definitions ...
|
||||
* editdraw.c: ... here. Multiply them by 256. Remove unused
|
||||
styles.
|
||||
|
@ -187,6 +187,7 @@ edit (const char *_file, int line)
|
||||
edit_done_menu (); /* editmenu.c */
|
||||
|
||||
destroy_dlg (edit_dlg);
|
||||
edit_dlg = NULL;
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user