]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
bug fix
authorRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Sun, 2 Jan 2022 14:12:28 +0000 (19:42 +0530)
committerRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Sun, 2 Jan 2022 14:12:28 +0000 (19:42 +0530)
vfo.c

diff --git a/vfo.c b/vfo.c
index bad81d3f07e61b2a162b2f60dab8fdea400b7de9..8cb833e265da7bc36344d003409e43d49e743485 100644 (file)
--- a/vfo.c
+++ b/vfo.c
@@ -920,7 +920,7 @@ char **draw_vfo_val(char *vfo_str, int step) {
 
     int step_index = step;
     if (step == 6) {
-        step_index = step - 1; // to account for the dot
+        step_index = step + 1; // to account for the dot
     }
     for (int i = 0; i < l - step_index - 1; i++) {
         s1[i] = vfo_str[i];