shithub: choc

Download patch

ref: db7d9dbf7e05fa41e30501127581c612c9846ceb
parent: 33dea69ca3bae15ce47baaf95c180fe3d0be56ae
author: Turo Lamminen <turol@iki.fi>
date: Tue Jun 2 13:52:32 EDT 2020

heretic: Change order of some statements

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