summaryrefslogtreecommitdiff
path: root/lexer/backup
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2021-05-09 12:23:39 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2021-05-09 12:23:39 -0400
commitf8c2e25b4ab337789a2e468a8f0aadb0c7fda42f (patch)
treec7c8b68dbbb216c903c7219c0d68c408d5a427d2 /lexer/backup
parent98886be8aa8508feabbcd8f232ba85ef46a7a139 (diff)
Replace call to memcpy, with call to memcpy_dir.
This fixes a bug where when shifting the line left, it would overwrite everything after the cursor with the character at the cursor's position. The reason this was happening is because memcpy copies from start to end, and because the destination is more than one byte ahead of the source, it overwrites the next length source bytes, which will repeat until it's copied n bytes.
Diffstat (limited to 'lexer/backup')
0 files changed, 0 insertions, 0 deletions