diff src/recpt1.c @ 151:f7f594bf4e98

If the ~/.recpt1-channels exists, do not output hard code channel info.
author Naoya OYAMA <naoya.oyama@gmail.com>
date Fri, 31 Aug 2012 23:39:46 +0900
parents a9f60d56d673
children 30e91361506a
line wrap: on
line diff
--- a/src/recpt1.c	Fri Aug 31 05:12:44 2012 +0900
+++ b/src/recpt1.c	Fri Aug 31 23:39:46 2012 +0900
@@ -819,25 +819,25 @@
             fprintf(stderr, "%s", buf);
         fclose(f);
     }
-    else
+    else {
         fprintf(stderr, "13-62: Terrestrial Channels\n");
-
-    fprintf(stderr, "101ch: NHK BS1\n");
-    fprintf(stderr, "102ch: NHK BS2\n");
-    fprintf(stderr, "103ch: NHK BShi\n");
-    fprintf(stderr, "141ch: BS Nittele\n");
-    fprintf(stderr, "151ch: BS Asahi\n");
-    fprintf(stderr, "161ch: BS-TBS\n");
-    fprintf(stderr, "171ch: BS Japan\n");
-    fprintf(stderr, "181ch: BS Fuji\n");
-    fprintf(stderr, "191ch: WOWOW\n");
-    fprintf(stderr, "192ch: WOWOW2\n");
-    fprintf(stderr, "193ch: WOWOW3\n");
-    fprintf(stderr, "200ch: Star Channel\n");
-    fprintf(stderr, "211ch: BS11 Digital\n");
-    fprintf(stderr, "222ch: TwellV\n");
-    fprintf(stderr, "C13-C63: CATV Channels\n");
-    fprintf(stderr, "CS2-CS24: CS Channels\n");
+        fprintf(stderr, "101ch: NHK BS1\n");
+        fprintf(stderr, "102ch: NHK BS2\n");
+        fprintf(stderr, "103ch: NHK BShi\n");
+        fprintf(stderr, "141ch: BS Nittele\n");
+        fprintf(stderr, "151ch: BS Asahi\n");
+        fprintf(stderr, "161ch: BS-TBS\n");
+        fprintf(stderr, "171ch: BS Japan\n");
+        fprintf(stderr, "181ch: BS Fuji\n");
+        fprintf(stderr, "191ch: WOWOW\n");
+        fprintf(stderr, "192ch: WOWOW2\n");
+        fprintf(stderr, "193ch: WOWOW3\n");
+        fprintf(stderr, "200ch: Star Channel\n");
+        fprintf(stderr, "211ch: BS11 Digital\n");
+        fprintf(stderr, "222ch: TwellV\n");
+        fprintf(stderr, "C13-C63: CATV Channels\n");
+        fprintf(stderr, "CS2-CS24: CS Channels\n");
+    }
 }
 
 float