* editwidget.c (edit): Set edit_dlg to NULL after it's

destroyed.
This commit is contained in:
Pavel Roskin 2002-09-23 23:42:44 +00:00
parent 9707873a05
commit 2571416650
2 changed files with 4 additions and 0 deletions

View File

@ -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.

View File

@ -187,6 +187,7 @@ edit (const char *_file, int line)
edit_done_menu (); /* editmenu.c */
destroy_dlg (edit_dlg);
edit_dlg = NULL;
return 1;
}