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:
lazarus-bart
2012-04-08 17:42:45 +00:00
parent 802a4beffb
commit 9cb94c0591

View File

@ -466,7 +466,7 @@ begin
begin
//DebugLn('Changing charset to 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;
Break;
end;