comparison src/recpt1.c @ 159:38f79bcba50d

modified to accept capitalization.
author Naoya OYAMA <naoya.oyama@gmail.com>
date Mon, 10 Sep 2012 20:43:22 +0900
parents 159a729b90eb
children ade99239f234
comparison
equal deleted inserted replaced
158:6fab243c91ab 159:38f79bcba50d
237 ISDB_T_FREQ_CONV_TABLE * 237 ISDB_T_FREQ_CONV_TABLE *
238 searchrecoff(char *channel) 238 searchrecoff(char *channel)
239 { 239 {
240 int lp; 240 int lp;
241 241
242 if(channel[0] == 'B' && channel[1] == 'S') { 242 if((channel[0] == 'B' || channel[0] == 'b') &&
243 (channel[1] == 'S' || channel[1] == 's')) {
243 int node = 0; 244 int node = 0;
244 int slot = 0; 245 int slot = 0;
245 char *bs_ch; 246 char *bs_ch;
246 247
247 bs_ch = channel + 2; 248 bs_ch = channel + 2;