ref: 33dea69ca3bae15ce47baaf95c180fe3d0be56ae
parent: c0a6b6b5d0b7b5b051bf30b51a7482358dacea57
author: Turo Lamminen <[email protected]>
date: Tue Jun 2 13:51:59 EDT 2020
heretic: Separate changing buffer contents and buffer pointer
--- a/src/heretic/mn_menu.c
+++ b/src/heretic/mn_menu.c
@@ -1525,7 +1525,8 @@
{
if (slotptr)
{
- *textBuffer-- = 0;
+ *textBuffer = 0;
+ textBuffer--;
*textBuffer = ASCII_CURSOR;
slotptr--;
}