]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/item/textslider.c
ARGH, that really was a STUPID bug.
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / item / textslider.c
index 7301f5f16eab521c71104c6d321e1d492f732659..37aaeb4ab1dda7c4cf7b7493f4293a27e907c393 100644 (file)
@@ -62,8 +62,10 @@ void TextSlider_insertValue(entity me, float pos, string theString, string theId
 {
        float i;
        for (i = me.nValues; i > pos; --i)
+       {
                me.(valueStrings[i]) = me.(valueStrings[i-1]);
                me.(valueIdentifiers[i]) = me.(valueIdentifiers[i-1]);
+       }
        me.(valueStrings[pos]) = theString;
        me.(valueIdentifiers[pos]) = theIdentifier;
        me.nValues += 1;