Misc for netf

Doesn't make sense to check further if index points to the end of the string, this also handles previous check
This commit is contained in:
Archi
2021-06-16 00:48:28 +02:00
parent 47813a0eb6
commit b64eec8def

View File

@@ -136,7 +136,7 @@ namespace ArchiSteamFarm.Compatibility {
int startIndex = 0;
while (true) {
if (source.Length == 0) {
if (startIndex >= source.Length) {
return source;
}