You've already forked lazarus-ccr
Fixed wrong LineNr in call to DoCharSetChanged
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2384 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -466,7 +466,7 @@ begin
|
|||||||
begin
|
begin
|
||||||
//DebugLn('Changing charset to utf-8');
|
//DebugLn('Changing charset to utf-8');
|
||||||
TextBetweenPoints[Point(CharsetStart,LineNr+1),Point(CharSetEnd,LineNr+1)] := 'utf-8';
|
TextBetweenPoints[Point(CharsetStart,LineNr+1),Point(CharSetEnd,LineNr+1)] := 'utf-8';
|
||||||
DoCharsetChanged(OldCharSet, 'utf-8', LineNr);
|
DoCharsetChanged(OldCharSet, 'utf-8', LineNr+1);
|
||||||
end;
|
end;
|
||||||
Break;
|
Break;
|
||||||
end;
|
end;
|
||||||
|
Reference in New Issue
Block a user