case D_FWD missed break; Fixed typos in comment to D_NONE.
Showing
1 changed file
with
6 additions
and
5 deletions
... | @@ -147,15 +147,16 @@ mail_z (int argc, char **argv) | ... | @@ -147,15 +147,16 @@ mail_z (int argc, char **argv) |
147 | fprintf(stdout, "On last screenful of messages\n"); | 147 | fprintf(stdout, "On last screenful of messages\n"); |
148 | return 0; | 148 | return 0; |
149 | } | 149 | } |
150 | 150 | break; | |
151 | |||
151 | case D_NONE: | 152 | case D_NONE: |
152 | { | 153 | { |
153 | /* z. is a GNU extension, so it will be more usefull | 154 | /* z. is a GNU extension, so it will be more useful |
154 | when we reach the last message to show a full screen | 155 | when we reach the last message to show a full screen |
155 | of the last message. This behaviour is use on startup | 156 | of the last message. This behaviour is used on startup |
156 | when displaying the summary and the headers, new messages | 157 | when displaying the summary and the headers, new messages |
157 | are last but we want to display a screenfull with the | 158 | are last but we want to display a screenful with the |
158 | real cursor set by symmary() to the new message. */ | 159 | real cursor set by summary() to the new message. */ |
159 | /* Find the start of the last screen page. */ | 160 | /* Find the start of the last screen page. */ |
160 | int lastpage = total - pagelines + 1; | 161 | int lastpage = total - pagelines + 1; |
161 | if (lastpage <= 0) | 162 | if (lastpage <= 0) | ... | ... |
-
Please register or sign in to post a comment