From: c vw Date: Mon, 13 Aug 2018 10:06:10 +0000 (+0200) Subject: typo correction X-Git-Url: https://git.rkrishnan.org/pf/content/en/seg/status?a=commitdiff_plain;h=02e0512a3558f83bf0e25100aeb6fa580314e723;p=pihpsdr.git typo correction --- diff --git a/tx_panadapter.c b/tx_panadapter.c index 2466781..50c98e6 100644 --- a/tx_panadapter.c +++ b/tx_panadapter.c @@ -204,6 +204,7 @@ void tx_panadapter_update(TRANSMITTER *tx) { int display_width=gtk_widget_get_allocated_width (tx->panadapter); int display_height=gtk_widget_get_allocated_height (tx->panadapter); + // id = VFO which contains the TX frequency int id = active_receiver->id; if (split) { id = 1-id; @@ -284,7 +285,7 @@ void tx_panadapter_update(TRANSMITTER *tx) { // band edges long long min_display=frequency-half; long long max_display=frequency+half; - int b=vfo[i].band; + int b=vfo[id].band; BAND *band=band_get_band(b); if(band->frequencyMin!=0LL) { cairo_set_source_rgb (cr, 1.0, 0.0, 0.0);