Skip to content

Commit

Permalink
Remove Tab indentation leftovers
Browse files Browse the repository at this point in the history
  • Loading branch information
veteran29 authored Jul 20, 2020
1 parent 7279403 commit 70753df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/diagnostic/fnc_initExtendedDebugConsole.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ _expression ctrlAddEventHandler ["KillFocus", {
private _text = ctrlText _expression;

// replace selection with whitespace
private _indentType = [INDENT_SPACES, INDENT_TAB] select GVAR(ConsoleIndentType);
private _indentType = [INDENT_SPACES] select GVAR(ConsoleIndentType);
_expression ctrlSetText ([_text select [0, _selStart], _text select [_selStart + _selLength, count _text - 1]] joinString _indentType);
_expression ctrlSetTextSelection [_selStart + count _indentType, 0];

Expand Down

0 comments on commit 70753df

Please sign in to comment.