You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
#18051: Remove redundant verbatim prefixes
(cherry picked from commit f0bf5532fa)
This commit is contained in:
committed by
Hein-Pieter van Braam
parent
37ce381e3d
commit
3876a8776e
@@ -127,9 +127,9 @@ namespace Godot
|
|||||||
int count;
|
int count;
|
||||||
|
|
||||||
if (increment > 0)
|
if (increment > 0)
|
||||||
count = (to - @from - 1) / increment + 1;
|
count = (to - from - 1) / increment + 1;
|
||||||
else
|
else
|
||||||
count = (@from - to - 1) / -increment + 1;
|
count = (from - to - 1) / -increment + 1;
|
||||||
|
|
||||||
var ret = new int[count];
|
var ret = new int[count];
|
||||||
|
|
||||||
|
|||||||
@@ -850,7 +850,7 @@ namespace Godot
|
|||||||
int end = instance.Find(divisor, from);
|
int end = instance.Find(divisor, from);
|
||||||
if (end < 0)
|
if (end < 0)
|
||||||
end = len;
|
end = len;
|
||||||
if (allow_empty || end > @from)
|
if (allow_empty || end > from)
|
||||||
ret.Add(float.Parse(instance.Substring(from)));
|
ret.Add(float.Parse(instance.Substring(from)));
|
||||||
if (end == len)
|
if (end == len)
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user