From d5bfaea603958063f865e8f6e168bd3b1115f532 Mon Sep 17 00:00:00 2001 From: juha Date: Mon, 13 May 2013 14:10:37 +0000 Subject: [PATCH] Converter: Use {$IFnDEF ...} with small 'n'. Easier to read. git-svn-id: trunk@41170 - --- converter/convcodetool.pas | 2 +- converter/usedunits.pas | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/converter/convcodetool.pas b/converter/convcodetool.pas index 0f057a8ae5..8f0c2a44b2 100644 --- a/converter/convcodetool.pas +++ b/converter/convcodetool.pas @@ -305,7 +305,7 @@ begin end else begin // Add IFDEF for .lfm and .dfm allowing Delphi to use .dfm. - s:='{$IFNDEF FPC}'+LineEnding+ + s:='{$IFnDEF FPC}'+LineEnding+ ' {$R *.dfm}'+LineEnding+ '{$ELSE}'+LineEnding+ ' {$R *.lfm}'+LineEnding+ diff --git a/converter/usedunits.pas b/converter/usedunits.pas index cb27f091b4..66be64c09b 100644 --- a/converter/usedunits.pas +++ b/converter/usedunits.pas @@ -403,7 +403,7 @@ begin InsPos:=FindLineEndOrCodeAfterPosition(CurPos.EndPos,false); end; end; - s:=s+'{$IFNDEF FPC}'+LineEnding; + s:=s+'{$IFnDEF FPC}'+LineEnding; if DelphiOnlyUnits.Count>0 then begin if UsesNode=Nil then s:=s+'uses'+LineEnding;