Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
2d22d0d8
...
2d22d0d88f15e77c14b01f613e894ded53827e8e
authored
2002-09-27 13:24:39 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(main): Correctly set current message number.
1 parent
c5d7079e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
mh/folder.c
mh/folder.c
View file @
2d22d0d
...
...
@@ -34,7 +34,7 @@
const
char
*
argp_program_version
=
"folder ("
PACKAGE_STRING
")"
;
static
char
doc
[]
=
"GNU MH folder"
;
static
char
args_doc
[]
=
"[action][msg]"
;
static
char
args_doc
[]
=
"[action]
[msg]"
;
#define ARG_PUSH 1
#define ARG_POP 2
...
...
@@ -493,8 +493,8 @@ main (int argc, char **argv)
if
(
argc
-
index
==
1
)
{
mailbox_t
mbox
=
mh_open_folder
(
current_folder
,
0
);
mh_msgset_parse
(
mbox
,
&
msgset
,
argc
-
index
,
argv
+
index
);
current_message
=
msgset
.
list
[
0
]
;
mh_msgset_parse
(
mbox
,
&
msgset
,
argc
-
index
,
argv
+
index
,
"cur"
);
mh_msgset_current
(
mbox
,
&
msgset
,
0
)
;
mh_global_save_state
();
mailbox_close
(
mbox
);
mailbox_destroy
(
&
mbox
);
...
...
Please
register
or
sign in
to post a comment