Skip to content

Commit

Permalink
Merge pull request CBATeam#3 from MikeMatrix/NewArrayFunctions
Browse files Browse the repository at this point in the history
Typo fixes
  • Loading branch information
jokoho48 committed Sep 1, 2015
2 parents 50c75f6 + 43e8ec4 commit f4d2a80
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion addons/arrays/fnc_findTypeOf.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ params [["_array", [], [[]]], ["_typeOf", nil, [objNull, ""]]];

if (isNil "_typeOf" || {_array isEqualTo []}) exitWith {-1};

if (IS_OBJECT(_typeOf) then {
if (IS_OBJECT(_typeOf)) then {
_typeOf = typeOf _typeOf;
};

Expand Down
2 changes: 1 addition & 1 deletion addons/arrays/test_findNil.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ LOG("Testing " + _fn);

TEST_DEFINED("CBA_fnc_findNil","");

// Use of embeded nil
// Use of embedded nil
_result = ["", 5, objNull, nil, player] call CBA_fnc_findNil;
_expected = 3;
TEST_OP(_result,==,_expected,_fn);
Expand Down
2 changes: 1 addition & 1 deletion addons/arrays/test_findNull.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ _result = ["", objNull, player, 3] call CBA_fnc_findNull;
_expected = 1;
TEST_OP(_result,==,_expected,_fn);

// Only find first Null
// Only find first null
_result = ["", player, objNull, displayNull, 4] call CBA_fnc_findNull;
_expected = 2;
TEST_OP(_result,==,_expected,_fn);
Expand Down

0 comments on commit f4d2a80

Please sign in to comment.