summaryrefslogtreecommitdiff
path: root/mail/mutt/files
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1997-01-01 21:42:48 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1997-01-01 21:42:48 +0000
commitd5a8a82ce456591aa3f4417da940cc785d2356a1 (patch)
tree864a3a4bbad4d51e2c67edbb9660419074c8122e /mail/mutt/files
parentFix MASTER_SITES by moving "\" to the 3rd line (diff)
Upgrade 0.55 to PL15
Remade all checksums. Added Andreas's patch that remembers the last directory when doing a change folder operation.
Notes
Notes: svn path=/head/; revision=5152
Diffstat (limited to 'mail/mutt/files')
-rw-r--r--mail/mutt/files/patch-0443
1 files changed, 43 insertions, 0 deletions
diff --git a/mail/mutt/files/patch-04 b/mail/mutt/files/patch-04
new file mode 100644
index 000000000000..b4cd0305430e
--- /dev/null
+++ b/mail/mutt/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))
+