aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2007-01-21 06:40:23 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2007-01-21 06:40:23 +0000
commit69e5f2ef2745bb2a47b65850cc9c0fd55f1f66e3 (patch)
tree0cfb5053ae9cac82fda8e5728aa6bd89389bbfbe
parent4be3c7e95f1f6c9bb4b172fdc1d833e9333f7cf5 (diff)
downloadlcd4linux-69e5f2ef2745bb2a47b65850cc9c0fd55f1f66e3.tar.gz
indent
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@755 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
-rw-r--r--plugin_math.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugin_math.c b/plugin_math.c
index c3748e1..023a650 100644
--- a/plugin_math.c
+++ b/plugin_math.c
@@ -117,7 +117,7 @@ static void my_ceil(RESULT * result, RESULT * arg)
static void my_decode(RESULT * result, int argc, RESULT * argv[])
{
int index;
-
+
if (argc < 2) {
error("decode(): wrong number of parameters");
SetResult(&result, R_STRING, "");
@@ -125,13 +125,13 @@ static void my_decode(RESULT * result, int argc, RESULT * argv[])
}
index = R2N(argv[0]);
-
- if (index < 0 || index >= argc-1) {
+
+ if (index < 0 || index >= argc - 1) {
SetResult(&result, R_STRING, "");
return;
}
-
- CopyResult (&result, argv[index+1]);
+
+ CopyResult(&result, argv[index + 1]);
}