290 |
} |
} |
291 |
} |
} |
292 |
if (g_ascii_strcasecmp (qsoband, "1") == 0) |
if (g_ascii_strcasecmp (qsoband, "1") == 0) |
293 |
found = g_strdup ("1.8"); |
found = "1.8"; |
294 |
else if (g_ascii_strcasecmp (qsoband, "3") == 0) |
else if (g_ascii_strcasecmp (qsoband, "3") == 0) |
295 |
found = g_strdup ("3.5"); |
found = "3.5"; |
296 |
else if (g_ascii_strcasecmp (qsoband, "7") == 0) |
else if (g_ascii_strcasecmp (qsoband, "7") == 0) |
297 |
found = g_strdup ("7"); |
found = "7"; |
298 |
else if (g_ascii_strcasecmp (qsoband, "29") == 0) |
else if (g_ascii_strcasecmp (qsoband, "29") == 0) |
299 |
found = g_strdup ("28"); |
found = "28"; |
300 |
|
else found = qsoband; |
301 |
|
|
302 |
if (atoi (qsoband) > 30 ) |
if (atoi (qsoband) > 30 ) |
303 |
{ |
{ |
304 |
if (atoi (qsoband) > 49 && atoi (qsoband) < 55) |
if (atoi (qsoband) > 49 && atoi (qsoband) < 55) |
305 |
found = g_strdup ("50"); |
found = "50"; |
306 |
else if (atoi (qsoband) > 143 && atoi (qsoband) < 149) |
else if (atoi (qsoband) > 143 && atoi (qsoband) < 149) |
307 |
found = g_strdup ("144"); |
found = "144"; |
308 |
else if (atoi (qsoband) > 221 && atoi (qsoband) < 226) |
else if (atoi (qsoband) > 221 && atoi (qsoband) < 226) |
309 |
found = g_strdup ("222"); |
found = "222"; |
310 |
else if (atoi (qsoband) > 429 && atoi (qsoband) < 440) |
else if (atoi (qsoband) > 429 && atoi (qsoband) < 440) |
311 |
found = g_strdup ("432"); |
found = "432"; |
312 |
else if (atoi (qsoband) > 901 && atoi (qsoband) < 929) |
else if (atoi (qsoband) > 901 && atoi (qsoband) < 929) |
313 |
found = g_strdup ("902"); |
found = "902"; |
314 |
else if (atoi (qsoband) > 1239 && atoi (qsoband) < 1301) |
else if (atoi (qsoband) > 1239 && atoi (qsoband) < 1301) |
315 |
found = g_strdup ("1296"); |
found = "1296"; |
316 |
else |
else |
317 |
found = g_strdup (qsoband); |
found = qsoband; |
318 |
} |
} |
319 |
return (found); |
return (found); |
320 |
} |
} |