From 842d46cd6a47d32e7d5e6a5a29e6b3688ac0ed9e Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Sat, 24 Apr 2021 11:28:51 -0400 Subject: [PATCH] Display the last q65 message character in *nix. --- map65/mainwindow.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/map65/mainwindow.cpp b/map65/mainwindow.cpp index e2fb1cbd1..9d8caf016 100644 --- a/map65/mainwindow.cpp +++ b/map65/mainwindow.cpp @@ -1388,7 +1388,11 @@ void MainWindow::readFromStdout() //readFromStdout if(t.indexOf("!") >= 0) { int n=t.length(); - if(n>=30) ui->decodedTextBrowser->append(t.mid(1,n-3)); + int m=2; +#ifdef WIN32 + m=3; +#endif + if(n>=30) ui->decodedTextBrowser->append(t.mid(1,n-m)); // if(n<30) ui->decodedTextBrowser->append(t.mid(1,n-3)); //Write a no-decode JT65 line n=ui->decodedTextBrowser->verticalScrollBar()->maximum(); ui->decodedTextBrowser->verticalScrollBar()->setValue(n);