diff options
| author | louis <louis.braun@gmx.de> | 2013-05-26 11:38:05 +0200 |
|---|---|---|
| committer | louis <louis.braun@gmx.de> | 2013-05-26 11:38:05 +0200 |
| commit | 812fd1b7a5aeb67d4139255a6df8230c420ea57e (patch) | |
| tree | 36e0408bf9f4191b37cf11bd9dd01e381d105f6e /tvguide.c | |
| parent | 9f47ab764efc83d8bf94f25c4badeb6e4c91c649 (diff) | |
| download | vdr-plugin-tvguide-812fd1b7a5aeb67d4139255a6df8230c420ea57e.tar.gz vdr-plugin-tvguide-812fd1b7a5aeb67d4139255a6df8230c420ea57e.tar.bz2 | |
whitespace cleanup
Diffstat (limited to 'tvguide.c')
| -rw-r--r-- | tvguide.c | 34 |
1 files changed, 17 insertions, 17 deletions
@@ -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) |
