From 1d7f3d340ed92e4e7f41d069e2c6a984ac4cb92c Mon Sep 17 00:00:00 2001 From: terencehill Date: Sat, 1 Dec 2018 20:27:46 +0100 Subject: [PATCH] Fix unusual block indentation in a macro --- qcsrc/menu/xonotic/serverlist.qc | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/qcsrc/menu/xonotic/serverlist.qc b/qcsrc/menu/xonotic/serverlist.qc index eec56ca5f..b781ff681 100644 --- a/qcsrc/menu/xonotic/serverlist.qc +++ b/qcsrc/menu/xonotic/serverlist.qc @@ -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); \ -- 2.39.2