Replace '#' with '*' when using baudot in HAB mode.

pull/2/head
Philip Heron 2010-12-04 11:23:59 +00:00
rodzic a648d2aedf
commit 57f07f419d
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -407,6 +407,9 @@ bool rtty::rx(bool bit)
lb = (lost - bytelen / 2) / bytelen;
put_rx_ssdv(c, lb);
/* Replace '#' with '*' when using baudot in HAB mode */
if(nbits == 5 && bHAB && c == '#') c = '*';
if ( c != 0 )
put_rx_char(progdefaults.rx_lowercase ? tolower(c) : c);
}