summaryrefslogtreecommitdiff
path: root/mail/mutt-devel/files/patch-04
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1997-01-19 02:12:12 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1997-01-19 02:12:12 +0000
commita518e9a59f1c88ddcb92707383db3a4b1f3c513f (patch)
tree872e16944692b3009e602a1185d2398efff015a1 /mail/mutt-devel/files/patch-04
parent(1) This is a classic example of a "trivial fix" blowing up on one's face (diff)
Upgrade to 0.57 PL 4.
(note that 0.58 is out, but I want to lets the bugs shake out of it first).
Diffstat (limited to '')
-rw-r--r--mail/mutt-devel/files/patch-0443
1 files changed, 0 insertions, 43 deletions
diff --git a/mail/mutt-devel/files/patch-04 b/mail/mutt-devel/files/patch-04
deleted file mode 100644
index b4cd0305430e..000000000000
--- a/mail/mutt-devel/files/patch-04
+++ /dev/null
@@ -1,43 +0,0 @@
---- 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))
-