Ver Fonte

Docs: Fix capitalisation of Warning in two places

These are the only places in the docs that were not cased like this. Now they are!
Max Hilbrunner há 4 anos atrás
pai
commit
4e065a5242
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      doc/classes/@GlobalScope.xml

+ 2 - 2
doc/classes/@GlobalScope.xml

@@ -96,7 +96,7 @@
 			<argument index="0" name="bytes" type="PackedByteArray" />
 			<argument index="0" name="bytes" type="PackedByteArray" />
 			<description>
 			<description>
 				Decodes a byte array back to a [Variant] value. Decoding objects is allowed.
 				Decodes a byte array back to a [Variant] value. Decoding objects is allowed.
-				[b]WARNING:[/b] Deserialized object can contain code which gets executed. Do not use this option if the serialized object comes from untrusted sources to avoid potential security threats (remote code execution).
+				[b]Warning:[/b] Deserialized object can contain code which gets executed. Do not use this option if the serialized object comes from untrusted sources to avoid potential security threats (remote code execution).
 			</description>
 			</description>
 		</method>
 		</method>
 		<method name="cartesian2polar">
 		<method name="cartesian2polar">
@@ -518,7 +518,7 @@
 				nearest_po2(0) # Returns 0 (this may not be what you expect)
 				nearest_po2(0) # Returns 0 (this may not be what you expect)
 				nearest_po2(-1) # Returns 0 (this may not be what you expect)
 				nearest_po2(-1) # Returns 0 (this may not be what you expect)
 				[/codeblock]
 				[/codeblock]
-				[b]WARNING:[/b] Due to the way it is implemented, this function returns [code]0[/code] rather than [code]1[/code] for non-positive values of [code]value[/code] (in reality, 1 is the smallest integer power of 2).
+				[b]Warning:[/b] Due to the way it is implemented, this function returns [code]0[/code] rather than [code]1[/code] for non-positive values of [code]value[/code] (in reality, 1 is the smallest integer power of 2).
 			</description>
 			</description>
 		</method>
 		</method>
 		<method name="polar2cartesian">
 		<method name="polar2cartesian">