]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix unusual block indentation in a macro
authorterencehill <piuntn@gmail.com>
Sat, 1 Dec 2018 19:27:46 +0000 (20:27 +0100)
committerterencehill <piuntn@gmail.com>
Sat, 1 Dec 2018 19:27:46 +0000 (20:27 +0100)
qcsrc/menu/xonotic/serverlist.qc

index eec56ca5fd56725c7106d0ba246f8f70396d104f..b781ff6819b55055b52d06d5288b0a32e3bf4bd1 100644 (file)
@@ -27,14 +27,17 @@ void RegisterSLCategories()
                for(i = 0; i < category_ent_count; ++i) \
                { \
                        s = categories[i].override_string; \
-                       if((s != "") && (s != categories[i].cat_name)) \
+                       if(s != "" && s != categories[i].cat_name) \
                        { \
                                catnum = 0; \
                                for(x = 0; x < category_ent_count; ++x) \
-                               { if(categories[x].cat_name == s) { \
-                                       catnum = (x+1); \
-                                       break; \
-                               } } \
+                               { \
+                                       if(categories[x].cat_name == s) \
+                                       { \
+                                               catnum = x + 1; \
+                                               break; \
+                                       } \
+                               } \
                                if(catnum) \
                                { \
                                        strfree(categories[i].override_string); \