]> git.webhop.me Git - lcd4linux.git/commitdiff
indent
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Sun, 21 Jan 2007 06:40:23 +0000 (06:40 +0000)
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Sun, 21 Jan 2007 06:40:23 +0000 (06:40 +0000)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@755 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

plugin_math.c

index c3748e145ed596585e92c7c09fbd8e636307a380..023a6502d3ad7a589bfa85671df348ea4384ca7c 100644 (file)
@@ -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]);
 }