From c6f04fb9243cac5996ac5fce12b9871d542ffd42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Fillod=2C=20F8CFE?= Date: Thu, 26 Apr 2001 21:33:57 +0000 Subject: [PATCH] * misc fix git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@464 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- tests/dumpcaps.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/dumpcaps.c b/tests/dumpcaps.c index ab838b76d..068ca3333 100644 --- a/tests/dumpcaps.c +++ b/tests/dumpcaps.c @@ -3,7 +3,7 @@ * This programs dumps the capabilities of a backend rig. * * - * $Id: dumpcaps.c,v 1.18 2001-04-24 19:56:41 f4cfe Exp $ + * $Id: dumpcaps.c,v 1.19 2001-04-26 21:33:57 f4cfe Exp $ * * * This program is free software; you can redistribute it and/or @@ -339,9 +339,9 @@ int main (int argc, char *argv[]) printf("VFO list: "); if (caps->vfo_list!=0) { - if (caps->vfo_list&RIG_VFO_A) printf("VFOA "); - if (caps->vfo_list&RIG_VFO_B) printf("VFOB "); - if (caps->vfo_list&RIG_VFO_C) printf("VFOC "); + if ((caps->vfo_list&RIG_VFO_A)==RIG_VFO_A) printf("VFOA "); + if ((caps->vfo_list&RIG_VFO_B)==RIG_VFO_A) printf("VFOB "); + if ((caps->vfo_list&RIG_VFO_C)==RIG_VFO_A) printf("VFOC "); printf("\n"); } else { printf(" none! This backend might be bogus!\n");