From 8235df18af7a1c9be21baccfb24a8923a1e7d86b Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Mon, 18 Feb 2019 11:50:26 +0300 Subject: [PATCH] (stop_dialogs): remove extra check. Continue 433ae45bdda43e8ec81f6522f2226f177e4ec9e8. Signed-off-by: Andrew Borodin --- src/filemanager/midnight.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/filemanager/midnight.c b/src/filemanager/midnight.c index fd8f6029e..da07fef61 100644 --- a/src/filemanager/midnight.c +++ b/src/filemanager/midnight.c @@ -140,7 +140,7 @@ stop_dialogs (void) { dlg_stop (midnight_dlg); - if ((top_dlg != NULL) && (top_dlg->data != NULL)) + if (top_dlg != NULL) dlg_stop (DIALOG (top_dlg->data)); }