From 0e25120ed023d8ba264d6a86b49e7b0c3e2596d4 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 15 Nov 2004 11:10:36 +0000 Subject: [PATCH] Miloslav Cempirek Ing points out that we should return from sessionsaver_handler after processing a one-click saved session launch, to protect against accidentally calling dlg_end twice on the same dialog. [originally from svn r4779] --- config.c | 1 + 1 file changed, 1 insertion(+) diff --git a/config.c b/config.c index a7325a1d..99882a17 100644 --- a/config.c +++ b/config.c @@ -362,6 +362,7 @@ static void sessionsaver_handler(union control *ctrl, void *dlg, dlg_end(dlg, 1); } else dlg_beep(dlg); + return; } /* -- 2.45.2