Fix Ofs() call: use intermediate variable for typed pointer cast
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
e7454f87d1
commit
4bbc382070
1 changed files with 3 additions and 2 deletions
|
|
@ -2139,8 +2139,9 @@ begin
|
|||
CellH := FCellHeight;
|
||||
|
||||
{ Extract segments/offsets from far pointers -- pure Pascal, no register clobber }
|
||||
GlyphSeg := Seg(PPixelBuf(FGlyphBuf)^);
|
||||
GlyphBase := Ofs(PPixelBuf(FGlyphBuf)^);
|
||||
TabPtr := PPixelBuf(FGlyphBuf);
|
||||
GlyphSeg := Seg(TabPtr^);
|
||||
GlyphBase := Ofs(TabPtr^);
|
||||
PixSeg := Seg(PPixelBuf(FRowBuf)^);
|
||||
|
||||
{ Determine which line to render (handles scrollback view) }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue