diff options
author | joerg <joerg> | 2016-12-25 21:45:09 +0000 |
---|---|---|
committer | joerg <joerg> | 2016-12-25 21:45:09 +0000 |
commit | d08579185860aca5c8c7a6e126222b8338ac2e03 (patch) | |
tree | f45bf5167e55d0fcc92ee658c570146a1ec7ed0e /ham/linpsk/patches/patch-af | |
parent | dbe4b5b53ea901c8b50c27673e8223e4070c493b (diff) | |
download | pkgsrc-d08579185860aca5c8c7a6e126222b8338ac2e03.tar.gz |
Don't expect pointers to have a sign.
Diffstat (limited to 'ham/linpsk/patches/patch-af')
-rw-r--r-- | ham/linpsk/patches/patch-af | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/ham/linpsk/patches/patch-af b/ham/linpsk/patches/patch-af index f4de123b421..be9174ac840 100644 --- a/ham/linpsk/patches/patch-af +++ b/ham/linpsk/patches/patch-af @@ -1,4 +1,4 @@ -$NetBSD: patch-af,v 1.3 2012/07/03 18:06:38 joerg Exp $ +$NetBSD: patch-af,v 1.4 2016/12/25 21:45:09 joerg Exp $ --- src/linpsk.cpp.orig 2005-03-11 17:21:20.000000000 +0000 +++ src/linpsk.cpp @@ -20,6 +20,24 @@ $NetBSD: patch-af,v 1.3 2012/07/03 18:06:38 joerg Exp $ settings.RxChannels++; RxDisplay->RxFreq->setAfcDisplayMode(settings.ActChannel->AfcProperties()); } +@@ -505,7 +507,7 @@ if ( Modulator != 0 ) + } + else + { +- if (Sound > 0) ++ if (Sound) + Sound->PTT(false); + if (RxDisplay->start_process_loop()) + { +@@ -602,7 +604,7 @@ if (settings.DemoMode) + else + Sound = new CSound(settings.serial); + +-if ( Sound <= 0 ) ++if ( Sound == 0 ) + { + QMessageBox::critical(0," Programm Error! LinPsk","Could not create Sound Device for Output"); + TxDisplay->TxFunctions->RXTX->setStatus(ON); @@ -781,7 +783,8 @@ if (Param != 0) RxDisplay->RxFreq->setAfcDisplayMode(settings.ActChannel->AfcProperties()); RxDisplay->RxFreq->setAfcMode(settings.ActChannel->getAfcMode()); |