Skip to content

Commit

Permalink
fix versionCheck for AdvDevTools
Browse files Browse the repository at this point in the history
fix #211
  • Loading branch information
b-mayr-1984 committed Jul 6, 2024
1 parent c0c5d2c commit a0c85e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/versionCheck/functions/fn_createDiaryEntry.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ISNILS(GVAR(versionlen), 10);
ISNILS(GVAR(maxLines), 2000); // max lines would be 3121 total minus 2 for header

private _pad = {
params ["_str", "_targetLen", "_overflowChar"];
params [["_str", "wrong_type", ["string"]], "_targetLen", "_overflowChar"];
private _strLen = count _str;

if (_strLen > _targetLen) exitWith {
Expand Down

0 comments on commit a0c85e5

Please sign in to comment.