mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Changed tabs to 4 spaces
This commit is contained in:
@ -26,8 +26,8 @@ _targetIterator = 0;
|
||||
_searchIterator = 0;
|
||||
while {(_searchIterator < _sizeSearchTerm) && (_targetIterator < _sizeString)} do { // Prevents us from going out of bounds
|
||||
if ((_arraySearchTerm select _searchIterator) == (_arrayString select _targetIterator)) then { // If we have a match, start looking for the next character in the search term
|
||||
_matchingCharacters = _matchingCharacters + 1;
|
||||
_searchIterator = _searchIterator + 1
|
||||
_matchingCharacters = _matchingCharacters + 1;
|
||||
_searchIterator = _searchIterator + 1
|
||||
};
|
||||
_targetIterator = _targetIterator + 1; // Look at the next character in the string
|
||||
};
|
||||
|
Reference in New Issue
Block a user