]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
[script] Typo in the MathMax function
authorCharlie Brej <cbrej@cs.man.ac.uk>
Wed, 8 Jul 2009 10:26:13 +0000 (11:26 +0100)
committerCharlie Brej <cbrej@cs.man.ac.uk>
Wed, 8 Jul 2009 10:26:13 +0000 (11:26 +0100)
src/plugins/splash/script/script-lib-math.script

index d71b338bcb2b0ddea4982c0610d9011e944a6d65..e5c6542438ecf3d26edd85ffd943cb6e9ef3c9f5 100644 (file)
@@ -8,8 +8,8 @@ fun MathMin (value_a, value_b){
     return value_b;
     }
 
-fun MathMax (value, max){
-    if (value_a > value_a) return value_a;
+fun MathMax (value_a, value_b){
+    if (value_a > value_b) return value_a;
     return value_b;
     }