From 05d8aa50226a8ccd771d79dd58e979e72b4e8f5e Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Wed, 9 Jun 2021 13:12:25 +0100 Subject: [PATCH 1/2] Repair a minor defect in callsign input validation --- validators/CallsignValidator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validators/CallsignValidator.cpp b/validators/CallsignValidator.cpp index d6e1bb2c9..d6aba538c 100644 --- a/validators/CallsignValidator.cpp +++ b/validators/CallsignValidator.cpp @@ -14,7 +14,7 @@ auto CallsignValidator::validate (QString& input, int& pos) const -> State input.remove (0, 1); if (pos > 0) --pos; } - while (input.size () && input[input.size ()].isSpace ()) + while (input.size () && input[input.size () - 1].isSpace ()) { if (pos > input.size ()) --pos; input.chop (1); From 2106cd30c1ef8616e89cd1d5b2e6de83f8a7ce48 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Fri, 11 Jun 2021 12:22:07 +0100 Subject: [PATCH 2/2] Correct a script example in documentation --- doc/building on MS Windows.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/building on MS Windows.txt b/doc/building on MS Windows.txt index bb15e1f05..4df3ddd22 100644 --- a/doc/building on MS Windows.txt +++ b/doc/building on MS Windows.txt @@ -214,7 +214,7 @@ a suitable location like ~/build and change working directory to it: Configure and build and install the library in a suitable place (I use ~/local as a root directory for installed packages. - ~/src/portaudio/configure --prefix=$(HOME)/local/portaudio/mingw64 \ + ~/src/portaudio/configure --prefix=$HOME/local/portaudio/mingw64 \ --with-winapi=wmme,directx,wdmks --disable-static --enable-shared CFLAGS=-DNDEBUG make && make install