summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-01-17 11:54:17 +0100
committerGitHub <noreply@github.com>2018-01-17 11:54:17 +0100
commitb1017261055a815137132740e27200d50f3d2946 (patch)
tree2dc6f9a240aa8e28c619df34144bc9d4fafe9870
parent6c46787749879e4afe37e652446801fc6f4cd8f1 (diff)
parentfc5cc57d82290f9e900a4e3ba933c7e080406aa1 (diff)
Merge pull request #15805 from Chaosus/docfix
Change val to value at few places in doc
-rw-r--r--doc/classes/@GDScript.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/@GDScript.xml b/doc/classes/@GDScript.xml
index 778d4f75cf..b9694d0e6d 100644
--- a/doc/classes/@GDScript.xml
+++ b/doc/classes/@GDScript.xml
@@ -189,7 +189,7 @@
<argument index="2" name="max" type="float">
</argument>
<description>
- Clamps [code]val[/code] and returns a value not less than [code]min[/code] and not more than [code]max[/code].
+ Clamps [code]value[/code] and returns a value not less than [code]min[/code] and not more than [code]max[/code].
[codeblock]
speed = 1000
# a is 20
@@ -592,7 +592,7 @@
<argument index="0" name="value" type="int">
</argument>
<description>
- Returns the nearest larger power of 2 for integer [code]val[/code].
+ Returns the nearest larger power of 2 for integer [code]value[/code].
[codeblock]
nearest_po2(3) # returns 4
nearest_po2(4) # returns 4