switch(substring(argv(i), 0, 1))
{
- #define APPEND_STRING(list,sep,add) list = ((list != "") ? strcat(list, sep, add) : add);
+ #define APPEND_TO_STRING(list,sep,add) ((list) = (((list) != "") ? strcat(list, sep, add) : (add)))
case "V":
{
un_version = s;
}
case "B":
{
- APPEND_STRING(un_bannedservers, " ", s)
+ APPEND_TO_STRING(un_bannedservers, " ", s);
break;
}
case "E":
{
if(cvar("menu_updatecheck_getpacks"))
- { APPEND_STRING(un_emergency_pk3s, " ", s) }
+ APPEND_TO_STRING(un_emergency_pk3s, " ", s);
break;
}
case "P":
{
- APPEND_STRING(un_promoted, " ", s)
+ APPEND_TO_STRING(un_promoted, " ", s);
break;
}
case "R":
{
- APPEND_STRING(un_recommended, " ", s)
+ APPEND_TO_STRING(un_recommended, " ", s);
break;
}
}