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
45834834
...
45834834955eaf18d011a4e1970f53c8a677c4af
authored
2001-06-26 14:02:01 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
removed z_lines() in favor of util_screen_lines().
1 parent
f19d700c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
12 deletions
mail/z.c
mail/z.c
View file @
4583483
...
...
@@ -17,17 +17,6 @@
#include "mail.h"
static
unsigned
int
z_lines
()
{
struct
mail_env_entry
*
ep
=
util_find_env
(
"screen"
);
size_t
n
;
if
(
ep
&&
ep
->
value
&&
(
n
=
atoi
(
ep
->
value
))
!=
0
)
return
n
;
return
util_getlines
();
}
/* Scroll directions */
#define D_BWD -1
/* z- */
#define D_NONE 0
/* z. */
...
...
@@ -117,7 +106,7 @@ int
mail_z
(
int
argc
,
char
**
argv
)
{
unsigned
int
i
,
nlines
;
unsigned
int
pagelines
=
z
_lines
();
unsigned
int
pagelines
=
util_screen
_lines
();
int
count
;
int
dir
;
...
...
Please
register
or
sign in
to post a comment