summaryrefslogtreecommitdiffstats
path: root/mail/mutt-devel/files
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1997-01-01 21:42:48 +0000
committerobrien <obrien@FreeBSD.org>1997-01-01 21:42:48 +0000
commitaa0b26798e1ef6a3dda839f0f551c8bd8294fd4a (patch)
tree4bff61457f3efcdf22d4c4d97fa935383263af2d /mail/mutt-devel/files
parentfefe9f991ec8a157ae51332c8469c92b7c68762d (diff)
downloadFreeBSD-ports-aa0b26798e1ef6a3dda839f0f551c8bd8294fd4a.zip
FreeBSD-ports-aa0b26798e1ef6a3dda839f0f551c8bd8294fd4a.tar.gz
Upgrade 0.55 to PL15
Remade all checksums. Added Andreas's patch that remembers the last directory when doing a change folder operation.
Diffstat (limited to 'mail/mutt-devel/files')
-rw-r--r--mail/mutt-devel/files/patch-0443
1 files changed, 43 insertions, 0 deletions
diff --git a/mail/mutt-devel/files/patch-04 b/mail/mutt-devel/files/patch-04
new file mode 100644
index 0000000..b4cd030
--- /dev/null
+++ b/mail/mutt-devel/files/patch-04
@@ -0,0 +1,43 @@
+--- curs_main.c.orig Sat Dec 21 04:08:13 1996
++++ curs_main.c Sat Dec 28 04:10:54 1996
+@@ -55,6 +55,8 @@
+
+ /* The folder the user last saved to. Used by ci_save_message() */
+ static char LastFolder[_POSIX_PATH_MAX] = "";
++/* Last selected directory */
++static char LastDir[_POSIX_PATH_MAX] = "";
+
+ /*
+ * force_subj is used to force printing of the subject in threading mode
+@@ -341,9 +343,13 @@
+ if (i == '?')
+ {
+ *redraw = REDRAW_FULL;
+- folder_select (Maildir, buffer);
++ if (!LastDir[0])
++ strfcpy (LastDir, Maildir, sizeof (LastDir));
++ folder_select (LastDir, buffer);
+ if (!buffer[0])
+ return (-1);
++ strfcpy (LastDir, buffer, sizeof (LastDir));
++ *(strrchr (LastDir, '/')) = 0;
+ }
+ else if (!CI_is_return (i))
+ {
+@@ -1190,10 +1196,14 @@
+ else
+ {
+ refresh ();
+- folder_select (Maildir, buffer);
++ if (!LastDir[0])
++ strfcpy (LastDir, Maildir, sizeof (LastDir));
++ folder_select (LastDir, buffer);
+ redraw = REDRAW_FULL;
+ if (!buffer[0])
+ break;
++ strfcpy (LastDir, buffer, sizeof (LastDir));
++ *(strrchr (LastDir, '/')) = 0;
+ }
+ mutt_expand_path (buffer, sizeof (buffer));
+ if (!mutt_is_valid_mailbox (buffer))
+
OpenPOWER on IntegriCloud