diff options
author | pgen <p.gen.progs@gmail.com> | 2023-06-26 23:17:01 +0200 |
---|---|---|
committer | pgen <p.gen.progs@gmail.com> | 2023-06-26 23:17:01 +0200 |
commit | 3a7ba32666f2c21bfac8462c188794e1b30f0246 (patch) | |
tree | 7face6539f4363271be8818afa30c165dc849f11 /smenu.c | |
parent | a3044266f398018ae0eb250e59779ca38aef52a3 (diff) |
Fix the direct access number size
When the initial direct access index is explicitly defined, the number
of its digits must be taken into account when calculating the size of
direct access numbers on the screen.
Diffstat (limited to 'smenu.c')
-rw-r--r-- | smenu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10088,7 +10088,7 @@ main(int argc, char * argv[]) /* """""""""""""""""""""""""""""""""""""""""""""""" */ if ((daccess.mode & DA_TYPE_AUTO) && daccess.length == -2) { - long n = count; + long n = count + daccess_index - 1; daccess.length = 0; |