     lcd.setCursor(0, 1);
     lcd.write(byte(InUseChar));
   }
-  lcd.setCursor(4, 1);
+  lcd.setCursor(2, 1);
   lcd.write(slot_num + '0');
   lcd.print(":");
-  display_sel_value(freq, -1, NumFreqChars, NumCols - NumFreqChars - 2, 1);
+  display_sel_value(freq, -1, NumFreqChars, LcdNumCols - NumFreqChars - 2 - 2, 1);
   lcd.print("Hz");
 }
 


// Digital VFO program name & version
const char *ProgramName = "DigitalVFO";
const char *Version = "1.6";
const char *MinorVersion = ".3";
const char *Callsign = "ac3dn";

// display constants - below is for ubiquitous small HD44780 16x2 display
const int NumRows = 2;
const int NumCols = 16;

//-----
// Some convenience typedefs

          return "ERROR";
        VfoFrequency = tmp_freq;
        display_sel_value(VfoFrequency, VfoSelectDigit, NumFreqChars,
                          LcdNumCols - NumFreqChars - 2 - 2, 0);
        return "OK";
      }
  }
