POCSAG TX: Support for numeric only and address only messages

This commit is contained in:
furrtek 2017-02-08 01:19:29 +00:00
parent c72b490d49
commit 21de81bb85
7 changed files with 179 additions and 72 deletions

View file

@ -585,7 +585,7 @@ void ModalMessageView::paint(Painter& painter) {
painter.draw_string(
{ 1 * 8, (Coord)(120 + (i * 16)) },
style(),
message_.substr(start, pos)
message_.substr(start, pos - start)
);
i++;
start = pos + 1;