Converter: Use {$IFnDEF ...} with small 'n'. Easier to read.

git-svn-id: trunk@41170 -
This commit is contained in:
juha 2013-05-13 14:10:37 +00:00
parent d784e09e7d
commit d5bfaea603
2 changed files with 2 additions and 2 deletions

View File

@ -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+

View File

@ -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;