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
992e6e78
...
992e6e78e7637a68c0f091610c35fc92d826d65d
authored
2001-07-09 07:42:39 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
case D_FWD missed break; Fixed typos in comment to D_NONE.
1 parent
f980046b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
mail/z.c
mail/z.c
View file @
992e6e7
...
...
@@ -147,15 +147,16 @@ mail_z (int argc, char **argv)
fprintf
(
stdout
,
"On last screenful of messages
\n
"
);
return
0
;
}
break
;
case
D_NONE
:
{
/* z. is a GNU extension, so it will be more useful
l
/* z. is a GNU extension, so it will be more useful
when we reach the last message to show a full screen
of the last message. This behaviour is use on startup
of the last message. This behaviour is use
d
on startup
when displaying the summary and the headers, new messages
are last but we want to display a screenful
l
with the
real cursor set by s
y
mmary() to the new message. */
are last but we want to display a screenful with the
real cursor set by s
u
mmary() to the new message. */
/* Find the start of the last screen page. */
int
lastpage
=
total
-
pagelines
+
1
;
if
(
lastpage
<=
0
)
...
...
Please
register
or
sign in
to post a comment