fix #401, dfmt broken due to recent bulk renaming with sed

This commit is contained in:
Basile Burg 2019-01-14 04:27:41 +01:00
parent aa42c198c0
commit 0cd9f5b8aa
3 changed files with 3 additions and 4 deletions

View File

@ -277,9 +277,9 @@ begin
str.Add('--indent_size=' + intToStr(indentSize)); str.Add('--indent_size=' + intToStr(indentSize));
str.Add('--indent_style=' + idtstyle[indentationStyle]); str.Add('--indent_style=' + idtstyle[indentationStyle]);
str.Add('--tab_width=' + intToStr(tabWidth)); str.Add('--tab_width=' + intToStr(tabWidth));
str.Add('--brau_style=' + brc[braceStyle]); str.Add('--brace_style=' + brc[braceStyle]);
str.Add('--split_operator_at_line_end=' + falsetrue[splitOpAtPrevLine]); str.Add('--split_operator_at_line_end=' + falsetrue[splitOpAtPrevLine]);
str.Add('--spau_after_cast=' + falsetrue[spaceAfterCast]); str.Add('--space_after_cast=' + falsetrue[spaceAfterCast]);
str.Add('--selective_import_space=' + falsetrue[spaceAfterImport]); str.Add('--selective_import_space=' + falsetrue[spaceAfterImport]);
str.Add('--compact_labeled_statements=' + falsetrue[compactLabeledStatements]); str.Add('--compact_labeled_statements=' + falsetrue[compactLabeledStatements]);
if (majv = 0) and (minv > 4) then if (majv = 0) and (minv > 4) then

View File

@ -16,7 +16,6 @@ inherited InfoWidget: TInfoWidget
ClientWidth = 287 ClientWidth = 287
inherited Content: TPanel inherited Content: TPanel
Height = 267 Height = 267
Top = 36
Width = 287 Width = 287
ClientHeight = 267 ClientHeight = 267
ClientWidth = 287 ClientWidth = 287

View File

@ -202,7 +202,7 @@ end;
constructor TInfoWidget.create(aOwner: TComponent); constructor TInfoWidget.create(aOwner: TComponent);
var var
itm: TToolInfo; itm: TToolInfo;
ver: string = 'enough_spau_for_the_version'; ver: string = 'enough_space_for_the_version';
len: integer; len: integer;
begin begin
inherited; inherited;