aboutsummaryrefslogtreecommitdiffstats
path: root/common/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/commands.c')
-rw-r--r--common/commands.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/common/commands.c b/common/commands.c
index 66a3a95..ab4df5e 100644
--- a/common/commands.c
+++ b/common/commands.c
@@ -335,10 +335,8 @@ set_volume(void)
static void
set_freqtab(int j)
{
- chantab = j;
- chanlist = chanlists[chantab].list;
- chancount = chanlists[chantab].count;
-
+ freq_newtab(j);
+
/* cur_channel might be invalid (>chancount) right now */
cur_channel = -1;
/* this is valid for (struct CHANNEL*)->channel too */

Privacy Policy