little style touchup

This commit is contained in:
Thomas Debesse 2018-03-31 18:18:17 +02:00
parent 316ef9f3bb
commit a5a96f96ad

View File

@ -431,12 +431,14 @@ int main (int argc, char* argv[]) {
free(buf); free(buf);
if (ptr->game->basic[TAG_private_suffix] == NULL) { if (ptr->game->basic[TAG_private_suffix] == NULL) {
if (i == 0) if (i == 0) {
fprintf(games_c_file, "static struct quake_private %s;\n", ptr->game->basic[TAG_pd]); fprintf(games_c_file, "static struct quake_private %s;\n", ptr->game->basic[TAG_pd]);
}
} }
else { else {
if (i == 1) if (i == 1) {
fprintf(games_c_file, "static struct unreal_private %s = { NULL, \"%s\" };\n", ptr->game->basic[TAG_pd], ptr->game->basic[TAG_private_suffix]); fprintf(games_c_file, "static struct unreal_private %s = { NULL, \"%s\" };\n", ptr->game->basic[TAG_pd], ptr->game->basic[TAG_private_suffix]);
}
} }
} }
} }