Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed incorrect substring usage in find #421

Merged
merged 2 commits into from
Jul 11, 2016
Merged

Commits on Jul 11, 2016

  1. Fixed incorrect substring usage in find

    When using substring in fnc_find with initialIndex, the substring should be from the index and to the end of the haystack.
    The original code would return -1 for the example:
    _result = ["frog-headed fish", "f", 5] call CBA_fnc_find;
    And not 12 as shown in the example.
    nilsms authored Jul 11, 2016
    Configuration menu
    Copy the full SHA
    6f28118 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6969b3a View commit details
    Browse the repository at this point in the history