summaryrefslogtreecommitdiff
path: root/tvguide.c
diff options
context:
space:
mode:
Diffstat (limited to 'tvguide.c')
-rw-r--r--tvguide.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/tvguide.c b/tvguide.c
index 1b10c8a..2f4521d 100644
--- a/tvguide.c
+++ b/tvguide.c
@@ -85,22 +85,22 @@ bool cPluginTvguide::ProcessArgs(int argc, char *argv[])
int c;
cString *path = NULL;
while ((c = getopt_long(argc, argv, "i:f:l:", long_options, NULL)) != -1) {
- switch (c) {
+ switch (c) {
case 'i':
- path = new cString(optarg);
+ path = new cString(optarg);
tvguideConfig.SetImagesPath(*path);
imagesPathSet = true;
break;
case 'l':
- path = new cString(optarg);
+ path = new cString(optarg);
tvguideConfig.SetLogoPath(*path);
logoPathSet = true;
break;
default:
return false;
}
- if (path)
- delete path;
+ if (path)
+ delete path;
}
return true;
}
@@ -113,18 +113,18 @@ bool cPluginTvguide::Initialize(void)
bool cPluginTvguide::Start(void)
{
- if (!logoPathSet) {
- cString path = cString::sprintf("%s/channellogos/", cPlugin::ConfigDirectory(PLUGIN_NAME_I18N));
- tvguideConfig.SetLogoPath(path);
- logoPathSet = true;
- }
-
- if (!imagesPathSet) {
- cString path = cString::sprintf("%s/epgimages/", cPlugin::ConfigDirectory(PLUGIN_NAME_I18N));
- tvguideConfig.SetImagesPath(path);
- logoPathSet = true;
- }
- return true;
+ if (!logoPathSet) {
+ cString path = cString::sprintf("%s/channellogos/", cPlugin::ConfigDirectory(PLUGIN_NAME_I18N));
+ tvguideConfig.SetLogoPath(path);
+ logoPathSet = true;
+ }
+
+ if (!imagesPathSet) {
+ cString path = cString::sprintf("%s/epgimages/", cPlugin::ConfigDirectory(PLUGIN_NAME_I18N));
+ tvguideConfig.SetImagesPath(path);
+ logoPathSet = true;
+ }
+ return true;
}
void cPluginTvguide::Stop(void)