mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
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:
@@ -136,7 +136,7 @@ namespace ArchiSteamFarm.Compatibility {
|
||||
int startIndex = 0;
|
||||
|
||||
while (true) {
|
||||
if (source.Length == 0) {
|
||||
if (startIndex >= source.Length) {
|
||||
return source;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user