]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/command/markup.qc
Rename t_items.qc to items.qc
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / command / markup.qc
index 583c61e5517d89d046869c1d3ca3050714beeff0..1618f6e08f8053828637e62dda1e6e18b2972b39 100644 (file)
@@ -1,5 +1,5 @@
-#include "command.qh"
 #include "markup.qh"
+#include "command.qh"
 
 // =========================================================
 //  Markup chat characters command code, reworked by Samual
@@ -66,7 +66,8 @@ string GenericCommand_markup(string s2)
 
        red = 0;
        ccase = 0;
-       for(i = 0; i < strlen(s2); ++i)
+       int len = strlen(s2);
+       for (i = 0; i < len; ++i)
        {
                for(j = 0; j < NUM_MARKUPS; ++j)
                {