ref: 34f29737110c5c6063d36a66a05a10ceb68b36c4
parent: 032740bfe17d322c09fa299c598305415ade2668
author: Turo Lamminen <turol@iki.fi>
date: Tue Jun 2 14:24:45 EDT 2020
hexen: Reconstruct textBuffer from SlotText and slotptr Silences a GCC 10 warning
--- a/src/hexen/mn_menu.c
+++ b/src/hexen/mn_menu.c
@@ -1660,7 +1660,7 @@
{
*textBuffer = 0;
slotptr--;
- textBuffer--;
+ textBuffer = &SlotText[currentSlot][slotptr];
*textBuffer = ASCII_CURSOR;
}
return (true);