From 78dc85c38987b8c4eec1dceb179b5f158efbc87d Mon Sep 17 00:00:00 2001 From: michael Date: Thu, 12 Jan 2012 16:44:18 +0000 Subject: [PATCH] * Do not use C style assignments, because make fails on commandline, since the option -Sc is not set git-svn-id: trunk@34715 - --- ide/codetemplatesdlg.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ide/codetemplatesdlg.pas b/ide/codetemplatesdlg.pas index 905612f38d..2054311600 100644 --- a/ide/codetemplatesdlg.pas +++ b/ide/codetemplatesdlg.pas @@ -374,7 +374,7 @@ begin CodeBuf.LineColToPosition(XY.Y,XY.X,p); if p>0 then begin StartPos:=GetIdentStartPosition(CodeBuf.Source,p); - XY.X += StartPos-p; + XY.X := XY.X + StartPos-p; end; if not CodeToolBoss.ExtractProcedureHeader(CodeBuf,XY.X,XY.Y,Attributes,Value) then begin