Add "-" channel mask separator in TXTP for some shells

This commit is contained in:
bnnm 2018-04-20 17:07:00 +02:00
parent ab2cecf92d
commit fdaba703d6

View File

@ -176,7 +176,7 @@ static int add_filename(txtp_header * txtp, char *filename) {
channel_mask |= (1 << (ch-1)); channel_mask |= (1 << (ch-1));
config += n; config += n;
if (config[0]== ',') if (config[0]== ',' || config[0]== '-') /* "-" for PowerShell, may have problems with "," */
config++; config++;
else if (config[0] != '\0') else if (config[0] != '\0')
break; break;