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 eec56ca..b781ff6 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); \