$NetBSD: patch-ao,v 1.2 2016/04/09 09:46:26 tron Exp $

Add change_folder_next option.

--- curs_main.c.orig	2016-04-05 11:06:14.000000000 +0100
+++ curs_main.c	2016-04-09 10:14:56.000000000 +0100
@@ -1557,6 +1557,11 @@
 #endif
 	else
 	{
+	  if (option (OPTCHANGEFOLDERNEXT) && Context && Context->path)
+	  {
+	    strfcpy (buf, Context->path, sizeof (buf));
+	    mutt_pretty_mailbox (buf, sizeof (buf));
+	  }
 	  mutt_buffy (buf, sizeof (buf));
 
 #ifdef USE_SIDEBAR
