shithub: choc

Download patch

ref: 032740bfe17d322c09fa299c598305415ade2668
parent: 1a581dbc358c2f2c97efa2615a6b29c54bad007b
author: Turo Lamminen <turol@iki.fi>
date: Tue Jun 2 14:16:55 EDT 2020

hexen: Change order of some statements

--- a/src/hexen/mn_menu.c
+++ b/src/hexen/mn_menu.c
@@ -1659,9 +1659,9 @@
             if (slotptr)
             {
                 *textBuffer = 0;
+                slotptr--;
                 textBuffer--;
                 *textBuffer = ASCII_CURSOR;
-                slotptr--;
             }
             return (true);
         }