From: Ramakrishnan Muthukrishnan <ram@rkrishnan.org>
Date: Sun, 2 Jan 2022 14:12:28 +0000 (+0530)
Subject: bug fix
X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20//%22%22?a=commitdiff_plain;h=4c7ce0cfca45b675f0daf63087f1933d062e8627;p=pihpsdr.git

bug fix
---

diff --git a/vfo.c b/vfo.c
index bad81d3..8cb833e 100644
--- 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];