Skip to content

Commit e138396

Browse files
committed
[FREELDR:PC98] Use RtlMoveMemory() when scrolling up text in video (reactos#8498)
1 parent 363aa21 commit e138396

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boot/freeldr/freeldr/arch/i386/pc98/pc98cons.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Pc98ConsPutChar(int Ch)
2727
/* If scrolling is needed */
2828
if (CursorPosition >= TextCols * TextLines)
2929
{
30-
RtlCopyMemory((PUSHORT)VramText,
30+
RtlMoveMemory((PUSHORT)VramText,
3131
(PUSHORT)(VramText + TextCols * TEXT_CHAR_SIZE),
3232
TextCols * TextLines * TEXT_CHAR_SIZE);
3333

0 commit comments

Comments
 (0)