summaryrefslogtreecommitdiff
path: root/skinnopacity.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2012-12-16 11:38:21 +0100
committerlouis <louis.braun@gmx.de>2012-12-16 11:38:21 +0100
commitec274fcb4852434290a1a9fdc13c8fb747762099 (patch)
tree01cbeb0c5e2caa3690eaf7428d965e38aed30505 /skinnopacity.c
parent737d17c8ed6e50718465043230e00901f632fe2c (diff)
downloadskin-nopacity-ec274fcb4852434290a1a9fdc13c8fb747762099.tar.gz
skin-nopacity-ec274fcb4852434290a1a9fdc13c8fb747762099.tar.bz2
Whitespace Cleanup
Diffstat (limited to 'skinnopacity.c')
-rw-r--r--skinnopacity.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/skinnopacity.c b/skinnopacity.c
index b661dea..a1ab3fc 100644
--- a/skinnopacity.c
+++ b/skinnopacity.c
@@ -73,24 +73,24 @@ bool cPluginNopacity::ProcessArgs(int argc, char *argv[])
int c;
cString *path = NULL;
while ((c = getopt_long(argc, argv, "e:l:i:", long_options, NULL)) != -1) {
- switch (c) {
+ switch (c) {
case 'l':
- path = new cString(optarg);
+ path = new cString(optarg);
config.SetLogoPath(*path);
break;
case 'e':
- path = new cString(optarg);
+ path = new cString(optarg);
config.SetEpgImagePath(*path);
break;
case 'i':
- path = new cString(optarg);
+ path = new cString(optarg);
config.SetIconPath(*path);
break;
default:
return false;
}
- if (path)
- delete path;
+ if (path)
+ delete path;
}
return true;
}
@@ -102,11 +102,11 @@ bool cPluginNopacity::Initialize(void)
bool cPluginNopacity::Start(void)
{
- if (!cOsdProvider::SupportsTrueColor()) {
- esyslog("nopacity: No TrueColor OSD found! Aborting!");
- return false;
- } else
- dsyslog("nopacity: TrueColor OSD found");
+ if (!cOsdProvider::SupportsTrueColor()) {
+ esyslog("nopacity: No TrueColor OSD found! Aborting!");
+ return false;
+ } else
+ dsyslog("nopacity: TrueColor OSD found");
return new cNopacity;
}