mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* view.c (view): Set view_dlg to NULL after it's destroyed.
This commit is contained in:
parent
a18c202fc7
commit
95deedcc08
@ -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.
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user