* view.c (view): Set view_dlg to NULL after it's destroyed.

This commit is contained in:
Pavel Roskin 2002-09-23 23:49:22 +00:00
parent a18c202fc7
commit 95deedcc08
2 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2002-09-23 Pavel Roskin <proski@gnu.org>
* view.c (view): Set view_dlg to NULL after it's destroyed.
* color.h: Remove EDITOR_UNDERLINED_COLOR, it's unused.
* global.h: Move fcntl.h inclusion here. Define O_BINARY.

View File

@ -2437,6 +2437,7 @@ view (char *_command, const char *_file, int *move_dir_p, int start_line)
*move_dir_p = wview->move_dir;
}
destroy_dlg (our_dlg);
view_dlg = NULL;
return !error;
}