summaryrefslogtreecommitdiff
path: root/modules/mono
diff options
context:
space:
mode:
authorXavier Cho <mysticfallband@gmail.com>2018-04-08 12:49:19 +0900
committerXavier Cho <mysticfallband@gmail.com>2018-04-17 07:39:37 +0900
commitf0bf5532fac919fdb4bb6fa0ba088117aa223524 (patch)
tree2bf0463ec4fd683a4b0623dbcb68352b8da54e64 /modules/mono
parent85787776a537e2b0ee3b116e0d7dd342e7276a11 (diff)
#18051: Remove redundant verbatim prefixes
Diffstat (limited to 'modules/mono')
-rw-r--r--modules/mono/glue/cs_files/GD.cs4
-rw-r--r--modules/mono/glue/cs_files/StringExtensions.cs2
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/mono/glue/cs_files/GD.cs b/modules/mono/glue/cs_files/GD.cs
index 5f9ca2c335..8a300fbbd4 100644
--- a/modules/mono/glue/cs_files/GD.cs
+++ b/modules/mono/glue/cs_files/GD.cs
@@ -127,9 +127,9 @@ namespace Godot
int count;
if (increment > 0)
- count = (to - @from - 1) / increment + 1;
+ count = (to - from - 1) / increment + 1;
else
- count = (@from - to - 1) / -increment + 1;
+ count = (from - to - 1) / -increment + 1;
var ret = new int[count];
diff --git a/modules/mono/glue/cs_files/StringExtensions.cs b/modules/mono/glue/cs_files/StringExtensions.cs
index c86208f9bd..38f7a0941f 100644
--- a/modules/mono/glue/cs_files/StringExtensions.cs
+++ b/modules/mono/glue/cs_files/StringExtensions.cs
@@ -850,7 +850,7 @@ namespace Godot
int end = instance.Find(divisor, from);
if (end < 0)
end = len;
- if (allow_empty || end > @from)
+ if (allow_empty || end > from)
ret.Add(float.Parse(instance.Substring(from)));
if (end == len)
break;