Open_archive_not_working.patch 647 B

123456789101112131415161718192021222324
  1. From d3d59ed1080795af43b892d7b49f160f358c6be7 Mon Sep 17 00:00:00 2001
  2. From: Colin Clark <colin.clark@cclark.uk>
  3. Date: Fri, 28 Jan 2022 10:17:04 +0000
  4. Subject: [PATCH] Bug fix: Open archive not working
  5. Open archive does not work if a default layout has not been set.
  6. ---
  7. src/layout.c | 2 +-
  8. 1 file changed, 1 insertion(+), 1 deletion(-)
  9. diff --git a/src/layout.c b/src/layout.c
  10. index 5b08d51b..d72421f0 100644
  11. --- a/src/layout.c
  12. +++ b/src/layout.c
  13. @@ -3090,7 +3090,7 @@ LayoutWindow *layout_new_from_default()
  14. }
  15. else
  16. {
  17. - layout_new_from_config(NULL, NULL, TRUE);
  18. + lw = layout_new_from_config(NULL, NULL, TRUE);
  19. }
  20. return lw;
  21. }