1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-23 15:16:17 +00:00

Remove redundant condition in String::_humanize_digits()

This commit is contained in:
Hugo Locurcio
2019-10-04 18:07:06 +02:00
parent 7e9c1041ac
commit 3b8004865d

View File

@@ -3288,9 +3288,7 @@ String String::simplify_path() const {
static int _humanize_digits(int p_num) {
if (p_num < 10)
return 2;
else if (p_num < 100)
if (p_num < 100)
return 2;
else if (p_num < 1024)
return 1;